You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
341 B
Python
22 lines
341 B
Python
2 years ago
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class DrakdooMarket(BaseModel):
|
||
|
exchange: str
|
||
|
item: str
|
||
|
currency: str
|
||
|
contract: str
|
||
|
|
||
|
|
||
|
class DrakdooTimestamp(BaseModel):
|
||
|
sent: int
|
||
|
trade: int
|
||
|
|
||
|
|
||
|
class DrakdooCallback(BaseModel):
|
||
|
title: str
|
||
|
message: str
|
||
|
period: str
|
||
|
market: DrakdooMarket
|
||
|
timestamp: DrakdooTimestamp
|