SyncAPI/models/saves.py
2023-01-19 13:47:18 +01:00

17 lines
295 B
Python

from pydantic import BaseModel
class StardewSaveData(BaseModel):
farmer: str
money: int
played: int
save_time: int
year: int
season: int
day: int
game_version: str
class StardewSave(BaseModel):
id: int
device: str
date: int
data: StardewSaveData