2022-10-30 19:11:07 +00:00
|
|
|
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
|
2022-11-21 07:20:12 +00:00
|
|
|
price: str | None
|
2022-10-30 19:11:07 +00:00
|
|
|
market: DrakdooMarket
|
|
|
|
timestamp: DrakdooTimestamp
|