ddapi 0.4.6__tar.gz → 0.4.7__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
1
  Metadata-Version: 2.1
2
2
  Name: ddapi
3
- Version: 0.4.6
3
+ Version: 0.4.7
4
4
  Summary: ddapi
5
5
  Home-page: https://github.com/ByFox213/ddapi
6
6
  Author: ByFox
@@ -46,9 +46,8 @@ Requires-Dist: pytest; extra == "dev"
46
46
  ddapi is an api from the ddnet and qwik website
47
47
  ## Installation
48
48
 
49
- I lost access to pypi so install via git below example
50
49
  ```bash
51
- pip install ddapi # old version
50
+ pip install ddapi
52
51
  ```
53
52
  or
54
53
  ```bash
@@ -1,9 +1,8 @@
1
1
  ddapi is an api from the ddnet and qwik website
2
2
  ## Installation
3
3
 
4
- I lost access to pypi so install via git below example
5
4
  ```bash
6
- pip install ddapi # old version
5
+ pip install ddapi
7
6
  ```
8
7
  or
9
8
  ```bash
@@ -112,10 +112,10 @@ class StatusAPI(API):
112
112
  return await self._generate("https://api.status.tw/map/list", STMaps, "maps")
113
113
 
114
114
  async def bans(self) -> Union[STBans, None]:
115
- return await self._generate("https://api.status.tw/map/list", STBans, "bans")
115
+ return await self._generate("https://api.status.tw/master/ban/list", STBans, "bans")
116
116
 
117
117
  async def versions(self) -> Union[STVersions, None]:
118
- return await self._generate("https://api.status.tw/map/list", STVersions, "versions")
118
+ return await self._generate("https://api.status.tw/version/list", STVersions, "versions")
119
119
 
120
120
  async def masters_stats(self) -> Union[STMastersStats, None]:
121
- return await self._generate("https://api.status.tw/map/list", STMastersStats, "masters")
121
+ return await self._generate("https://api.status.tw/master/stats", STMastersStats, "masters")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ddapi
3
- Version: 0.4.6
3
+ Version: 0.4.7
4
4
  Summary: ddapi
5
5
  Home-page: https://github.com/ByFox213/ddapi
6
6
  Author: ByFox
@@ -46,9 +46,8 @@ Requires-Dist: pytest; extra == "dev"
46
46
  ddapi is an api from the ddnet and qwik website
47
47
  ## Installation
48
48
 
49
- I lost access to pypi so install via git below example
50
49
  ```bash
51
- pip install ddapi # old version
50
+ pip install ddapi
52
51
  ```
53
52
  or
54
53
  ```bash
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ddapi"
7
- version = "0.4.6"
7
+ version = "0.4.7"
8
8
  description = "ddapi"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "ByFox" }]
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ddapi
3
- version = 0.4.2
3
+ version = 0.4.7
4
4
  author = ByFox
5
5
  description = DDnet api
6
6
  long_description = file: README.md
File without changes
File without changes
File without changes
File without changes
File without changes