ddapi 0.9.0__tar.gz → 0.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ddapi-0.9.0 → ddapi-0.9.1}/PKG-INFO +1 -1
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/__init__.py +1 -1
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/scheme/__init__.py +1 -1
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/scheme/ddstats_tw.py +7 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi.egg-info/PKG-INFO +1 -1
- {ddapi-0.9.0 → ddapi-0.9.1}/setup.cfg +1 -1
- {ddapi-0.9.0 → ddapi-0.9.1}/setup.py +1 -1
- {ddapi-0.9.0 → ddapi-0.9.1}/LICENSE +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/README.md +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/api.py +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/main.py +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/scheme/ddnet.py +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi/scheme/status_tw.py +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi.egg-info/SOURCES.txt +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi.egg-info/dependency_links.txt +0 -0
- {ddapi-0.9.0 → ddapi-0.9.1}/ddapi/ddapi.egg-info/top_level.txt +0 -0
|
@@ -177,6 +177,12 @@ class RecentTop10s(BaseModel):
|
|
|
177
177
|
server: str
|
|
178
178
|
|
|
179
179
|
|
|
180
|
+
class GeneralActivity(BaseModel):
|
|
181
|
+
total_seconds_played: int
|
|
182
|
+
start_of_playtime: datetime
|
|
183
|
+
average_seconds_played: int
|
|
184
|
+
|
|
185
|
+
|
|
180
186
|
class Player(BaseModel):
|
|
181
187
|
points_graph: list[PointG]
|
|
182
188
|
recent_finishes: list[RecentFinishes]
|
|
@@ -193,6 +199,7 @@ class Player(BaseModel):
|
|
|
193
199
|
most_played_categories: Optional[list[MostPlayed]] = None
|
|
194
200
|
most_played_locations: Optional[list[MostPlayed]] = None
|
|
195
201
|
playtime_per_month: list[PlaytimePerMonth]
|
|
202
|
+
general_activity: GeneralActivity
|
|
196
203
|
favourite_rank1s_teammates: Optional[list[FavouriteRank1sTeammates]] = None
|
|
197
204
|
all_top_10s: Optional[list[AllTop10s]] = None
|
|
198
205
|
recent_top_10s: Optional[list[RecentTop10s]] = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|