ddapi 0.9.1__tar.gz → 0.9.3__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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ddapi
3
- Version: 0.9.1
3
+ Version: 0.9.3
4
4
  Summary: DDnet api
5
5
  Home-page: https://github.com/ByFox213/ddapi
6
6
  Author: ByFox
@@ -16,6 +16,7 @@ Dynamic: classifier
16
16
  Dynamic: description
17
17
  Dynamic: description-content-type
18
18
  Dynamic: home-page
19
+ Dynamic: license-file
19
20
  Dynamic: project-url
20
21
  Dynamic: requires-python
21
22
  Dynamic: summary
@@ -2,6 +2,6 @@
2
2
  from .main import DDnetApi, DDstats, Status
3
3
  from .scheme import *
4
4
 
5
- __version__ = "0.9.1"
5
+ __version__ = "0.9.3"
6
6
  __author__ = 'ByFox'
7
7
  __LICENSE__ = "MIT"
@@ -1,7 +1,3 @@
1
1
  from .ddnet import *
2
2
  from .ddstats_tw import *
3
3
  from .status_tw import *
4
-
5
- __version__ = "0.9.1"
6
- __author__ = 'ByFox'
7
- __LICENSE__ = "MIT"
@@ -168,13 +168,13 @@ class Community(BaseModel):
168
168
 
169
169
 
170
170
  class Info(BaseModel):
171
- max_clients: int
172
- max_players: int
173
- passworded: bool
174
- game_type: str
175
- name: str
176
- map: Map
177
- version: str
171
+ max_clients: int = None
172
+ max_players: int = None
173
+ passworded: bool = None
174
+ game_type: str = None
175
+ name: str = None
176
+ map: Map = None
177
+ version: str = None
178
178
  clients: Optional[list[Client]] = None
179
179
  requires_login: Optional[bool] = None
180
180
  community: Optional[Community] = None
@@ -199,7 +199,7 @@ class Player(BaseModel):
199
199
  most_played_categories: Optional[list[MostPlayed]] = None
200
200
  most_played_locations: Optional[list[MostPlayed]] = None
201
201
  playtime_per_month: list[PlaytimePerMonth]
202
- general_activity: GeneralActivity
202
+ general_activity: Optional[GeneralActivity] = None
203
203
  favourite_rank1s_teammates: Optional[list[FavouriteRank1sTeammates]] = None
204
204
  all_top_10s: Optional[list[AllTop10s]] = None
205
205
  recent_top_10s: Optional[list[RecentTop10s]] = None
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ddapi
3
- Version: 0.9.1
3
+ Version: 0.9.3
4
4
  Summary: DDnet api
5
5
  Home-page: https://github.com/ByFox213/ddapi
6
6
  Author: ByFox
@@ -16,6 +16,7 @@ Dynamic: classifier
16
16
  Dynamic: description
17
17
  Dynamic: description-content-type
18
18
  Dynamic: home-page
19
+ Dynamic: license-file
19
20
  Dynamic: project-url
20
21
  Dynamic: requires-python
21
22
  Dynamic: summary
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ddapi
3
- version = 0.9.1
3
+ version = 0.9.3
4
4
  author = ByFox
5
5
  description = DDnet api
6
6
  long_description = file: README.md
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="ddapi",
8
- version="0.9.1",
8
+ version="0.9.3",
9
9
  author="ByFox",
10
10
  description="DDnet api",
11
11
  long_description=long_description,
File without changes
File without changes
File without changes
File without changes