rustat-python-api 0.5.6__tar.gz → 0.5.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.
- {rustat-python-api-0.5.6/rustat_python_api.egg-info → rustat-python-api-0.5.7}/PKG-INFO +1 -1
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/parser.py +14 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7/rustat_python_api.egg-info}/PKG-INFO +1 -1
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/setup.py +1 -1
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/LICENSE +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/README.md +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/pyproject.toml +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/__init__.py +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/config.py +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/models_api.py +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/pitch_control.py +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/processing.py +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api/urls.py +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api.egg-info/SOURCES.txt +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api.egg-info/dependency_links.txt +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api.egg-info/requires.txt +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api.egg-info/top_level.txt +0 -0
- {rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/setup.cfg +0 -0
|
@@ -32,6 +32,20 @@ class RuStatParser:
|
|
|
32
32
|
response = requests.get(query)
|
|
33
33
|
return response.json()
|
|
34
34
|
|
|
35
|
+
def get_season_teams(self, season_id: int):
|
|
36
|
+
data = self.resp2data(
|
|
37
|
+
self.urls["tournament_teams"].format(
|
|
38
|
+
user=self.user,
|
|
39
|
+
password=self.password,
|
|
40
|
+
season_id=season_id
|
|
41
|
+
)
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
if data:
|
|
45
|
+
return data['data']['row']
|
|
46
|
+
else:
|
|
47
|
+
return []
|
|
48
|
+
|
|
35
49
|
def get_rpl_info(self):
|
|
36
50
|
for season_id in tqdm(range(1, 36)):
|
|
37
51
|
data = self.resp2data(
|
|
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
|
|
File without changes
|
{rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rustat-python-api-0.5.6 → rustat-python-api-0.5.7}/rustat_python_api.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|