blizzardapi2 2.1.5__tar.gz → 2.1.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.
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/.github/workflows/python-package.yml +3 -3
- {blizzardapi2-2.1.5/blizzardapi2.egg-info → blizzardapi2-2.1.7}/PKG-INFO +4 -4
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/_version.py +2 -2
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/api.py +12 -4
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/diablo3/diablo3_community_api.py +15 -5
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/diablo3/diablo3_game_data_api.py +6 -2
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/hearthstone/hearthstone_game_data_api.py +9 -3
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/starcraft2/starcraft2_api.py +6 -2
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/starcraft2/starcraft2_community_api.py +3 -1
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/wow/wow_game_data_api.py +93 -31
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/wow/wow_profile_api.py +24 -8
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7/blizzardapi2.egg-info}/PKG-INFO +4 -4
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2.egg-info/requires.txt +3 -3
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/package.json +1 -1
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/pyproject.toml +5 -5
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/.github/dependabot.yml +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/.github/workflows/black.yml +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/.gitignore +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/CODE_OF_CONDUCT.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/CONTRIBUTING.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/LICENSE +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/README.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/SECURITY.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/__init__.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/battlenet/__init__.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/battlenet/battlenet_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/battlenet/battlenet_oauth_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/blizzard_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/diablo3/__init__.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/diablo3/diablo3_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/hearthstone/__init__.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/hearthstone/hearthstone_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/starcraft2/__init__.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/starcraft2/starcraft2_game_data_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/types.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/wow/__init__.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/wow/wow_api.py +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2.egg-info/SOURCES.txt +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2.egg-info/dependency_links.txt +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2.egg-info/top_level.txt +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/docs/battlenet/README.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/docs/diablo3/README.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/docs/hearthstone/README.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/docs/pull_request_template.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/docs/starcraft2/README.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/docs/wow/README.md +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/poetry.lock +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/setup.cfg +0 -0
- {blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/uv.lock +0 -0
|
@@ -78,13 +78,13 @@ jobs:
|
|
|
78
78
|
python -m pip install --upgrade pip
|
|
79
79
|
pip install build twine setuptools_scm
|
|
80
80
|
# Get the current version from pyproject.toml
|
|
81
|
-
CURRENT_VERSION=$(grep 'version = ' pyproject.toml | cut -d'"' -f2)
|
|
81
|
+
CURRENT_VERSION=$(grep 'version = ' pyproject.toml | head -n 1 | cut -d'"' -f2)
|
|
82
82
|
# Split version into major.minor.patch
|
|
83
83
|
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT_VERSION"
|
|
84
84
|
# Increment patch version
|
|
85
85
|
NEW_VERSION="$MAJOR.$MINOR.$((PATCH + 1))"
|
|
86
|
-
# Update version in pyproject.toml
|
|
87
|
-
sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" pyproject.toml
|
|
86
|
+
# Update version in pyproject.toml (only the first occurrence, which is the package version)
|
|
87
|
+
sed -i "0,/version = \".*\"/s/version = \".*\"/version = \"$NEW_VERSION\"/" pyproject.toml
|
|
88
88
|
# Update version in package.json
|
|
89
89
|
sed -i "s/\"version\": \".*\"/\"version\": \"$NEW_VERSION\"/" package.json
|
|
90
90
|
# Commit the version changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: blizzardapi2
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.7
|
|
4
4
|
Summary: A Python wrapper for Blizzard API
|
|
5
5
|
Author-email: lostcol0ny <c098os0k@4wrd.cc>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.11
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
15
|
Requires-Dist: requests<3.0.0,>=2.32.3
|
|
16
|
-
Requires-Dist: black<
|
|
16
|
+
Requires-Dist: black<26.0.0,>=24.4.2
|
|
17
17
|
Requires-Dist: pytest<9.0.0,>=8.2.2
|
|
18
18
|
Requires-Dist: pytest-mock<4.0.0,>=3.14.0
|
|
19
19
|
Requires-Dist: ruff<1.0.0,>=0.3.0
|
|
@@ -22,8 +22,8 @@ Requires-Dist: aiohttp>=3.12.12
|
|
|
22
22
|
Provides-Extra: dev
|
|
23
23
|
Requires-Dist: pytest<9.0.0,>=8.2.2; extra == "dev"
|
|
24
24
|
Requires-Dist: pytest-mock<4.0.0,>=3.14.0; extra == "dev"
|
|
25
|
-
Requires-Dist: pytest-asyncio<
|
|
26
|
-
Requires-Dist: black<
|
|
25
|
+
Requires-Dist: pytest-asyncio<2.0.0,>=0.23.5; extra == "dev"
|
|
26
|
+
Requires-Dist: black<26.0.0,>=24.4.2; extra == "dev"
|
|
27
27
|
Requires-Dist: ruff<1.0.0,>=0.3.0; extra == "dev"
|
|
28
28
|
Dynamic: license-file
|
|
29
29
|
|
|
@@ -17,5 +17,5 @@ __version__: str
|
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
|
18
18
|
version_tuple: VERSION_TUPLE
|
|
19
19
|
|
|
20
|
-
__version__ = version = '2.0.8.
|
|
21
|
-
__version_tuple__ = version_tuple = (2, 0, 8, '
|
|
20
|
+
__version__ = version = '2.0.8.dev18+g7ef899e'
|
|
21
|
+
__version_tuple__ = version_tuple = (2, 0, 8, 'dev18', 'g7ef899e')
|
|
@@ -37,7 +37,9 @@ class Api:
|
|
|
37
37
|
|
|
38
38
|
def _is_token_expired(self) -> bool:
|
|
39
39
|
"""Check if the token is expiring within next 5 minutes."""
|
|
40
|
-
current_time =
|
|
40
|
+
current_time = (
|
|
41
|
+
datetime.now(UTC).isoformat(timespec="milliseconds").replace("+00:00", "Z")
|
|
42
|
+
)
|
|
41
43
|
datetime_format = "%Y-%m-%dT%H:%M:%S.%fZ"
|
|
42
44
|
blizz_expire_obj = datetime.strptime(
|
|
43
45
|
self._access_token_expiration_datetime, datetime_format
|
|
@@ -99,7 +101,9 @@ class Api:
|
|
|
99
101
|
|
|
100
102
|
response = self._session.get(url, params=query_params, headers=headers)
|
|
101
103
|
|
|
102
|
-
self._access_token_expiration_datetime = response.headers.get(
|
|
104
|
+
self._access_token_expiration_datetime = response.headers.get(
|
|
105
|
+
"blizzard-token-expires"
|
|
106
|
+
)
|
|
103
107
|
|
|
104
108
|
if response.status_code == 401 or self._is_token_expired():
|
|
105
109
|
self._get_client_token(region)
|
|
@@ -117,7 +121,9 @@ class Api:
|
|
|
117
121
|
|
|
118
122
|
return url
|
|
119
123
|
|
|
120
|
-
def get_resource(
|
|
124
|
+
def get_resource(
|
|
125
|
+
self, resource: str, region: str, query_params={}
|
|
126
|
+
) -> dict[str, Any]:
|
|
121
127
|
"""Direction handler for when fetching resources."""
|
|
122
128
|
url = self._format_api_url(resource, region)
|
|
123
129
|
return self._request_handler(url, region, query_params)
|
|
@@ -131,7 +137,9 @@ class Api:
|
|
|
131
137
|
|
|
132
138
|
return url
|
|
133
139
|
|
|
134
|
-
def get_oauth_resource(
|
|
140
|
+
def get_oauth_resource(
|
|
141
|
+
self, resource: str, region: str, query_params={}
|
|
142
|
+
) -> dict[str, Any]:
|
|
135
143
|
"""Direction handler for when fetching oauth resources."""
|
|
136
144
|
url = self._format_oauth_url(resource, region)
|
|
137
145
|
return self._request_handler(url, region, query_params)
|
|
@@ -54,7 +54,9 @@ class Diablo3CommunityApi(Api):
|
|
|
54
54
|
query_params = {"locale": locale}
|
|
55
55
|
return super().get_resource(resource, region, query_params)
|
|
56
56
|
|
|
57
|
-
def get_artisan(
|
|
57
|
+
def get_artisan(
|
|
58
|
+
self, region: str, locale: str, artisan_slug: str
|
|
59
|
+
) -> dict[str, Any]:
|
|
58
60
|
"""
|
|
59
61
|
Return a single artisan by slug.
|
|
60
62
|
|
|
@@ -89,7 +91,9 @@ class Diablo3CommunityApi(Api):
|
|
|
89
91
|
query_params = {"locale": locale}
|
|
90
92
|
return super().get_resource(resource, region, query_params)
|
|
91
93
|
|
|
92
|
-
def get_follower(
|
|
94
|
+
def get_follower(
|
|
95
|
+
self, region: str, locale: str, follower_slug: str
|
|
96
|
+
) -> dict[str, Any]:
|
|
93
97
|
"""
|
|
94
98
|
Return a single follower by slug.
|
|
95
99
|
|
|
@@ -105,7 +109,9 @@ class Diablo3CommunityApi(Api):
|
|
|
105
109
|
query_params = {"locale": locale}
|
|
106
110
|
return super().get_resource(resource, region, query_params)
|
|
107
111
|
|
|
108
|
-
def get_character_class(
|
|
112
|
+
def get_character_class(
|
|
113
|
+
self, region: str, locale: str, class_slug: str
|
|
114
|
+
) -> dict[str, Any]:
|
|
109
115
|
"""
|
|
110
116
|
Return a single character class by slug.
|
|
111
117
|
|
|
@@ -155,7 +161,9 @@ class Diablo3CommunityApi(Api):
|
|
|
155
161
|
query_params = {"locale": locale}
|
|
156
162
|
return super().get_resource(resource, region, query_params)
|
|
157
163
|
|
|
158
|
-
def get_item_type(
|
|
164
|
+
def get_item_type(
|
|
165
|
+
self, region: str, locale: str, item_type_slug: str
|
|
166
|
+
) -> dict[str, Any]:
|
|
159
167
|
"""
|
|
160
168
|
Return a single item type by slug.
|
|
161
169
|
|
|
@@ -187,7 +195,9 @@ class Diablo3CommunityApi(Api):
|
|
|
187
195
|
query_params = {"locale": locale}
|
|
188
196
|
return super().get_resource(resource, region, query_params)
|
|
189
197
|
|
|
190
|
-
def get_api_account(
|
|
198
|
+
def get_api_account(
|
|
199
|
+
self, region: str, locale: str, account_id: str
|
|
200
|
+
) -> dict[str, Any]:
|
|
191
201
|
"""
|
|
192
202
|
Return the specified account profile.
|
|
193
203
|
|
|
@@ -48,7 +48,9 @@ class Diablo3GameDataApi(Api):
|
|
|
48
48
|
resource = f"/data/d3/season/{season_id}"
|
|
49
49
|
return super().get_resource(resource, region)
|
|
50
50
|
|
|
51
|
-
def get_season_leaderboard(
|
|
51
|
+
def get_season_leaderboard(
|
|
52
|
+
self, region: str, season_id: int, leaderboard_id: int
|
|
53
|
+
) -> dict:
|
|
52
54
|
"""
|
|
53
55
|
Return the specified leaderboard for the specified season.
|
|
54
56
|
|
|
@@ -90,7 +92,9 @@ class Diablo3GameDataApi(Api):
|
|
|
90
92
|
resource = f"/data/d3/era/{era_id}"
|
|
91
93
|
return super().get_resource(resource, region)
|
|
92
94
|
|
|
93
|
-
def get_era_leaderboard(
|
|
95
|
+
def get_era_leaderboard(
|
|
96
|
+
self, region: str, era_id: int, leaderboard_id: int
|
|
97
|
+
) -> dict:
|
|
94
98
|
"""
|
|
95
99
|
Return the specified leaderboard for the specified era.
|
|
96
100
|
|
{blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/hearthstone/hearthstone_game_data_api.py
RENAMED
|
@@ -66,7 +66,9 @@ class HearthstoneGameDataApi(Api):
|
|
|
66
66
|
query_params = {"locale": locale, "game_mode": game_mode}
|
|
67
67
|
return super().get_resource(resource, region, query_params)
|
|
68
68
|
|
|
69
|
-
def search_card_backs(
|
|
69
|
+
def search_card_backs(
|
|
70
|
+
self, region: str, locale: str, **query_params: Any
|
|
71
|
+
) -> dict[str, Any]:
|
|
70
72
|
"""
|
|
71
73
|
Return an up-to-date list of all card backs matching the search criteria.
|
|
72
74
|
|
|
@@ -82,7 +84,9 @@ class HearthstoneGameDataApi(Api):
|
|
|
82
84
|
query_params.update({"locale": locale})
|
|
83
85
|
return super().get_resource(resource, region, query_params)
|
|
84
86
|
|
|
85
|
-
def get_card_back(
|
|
87
|
+
def get_card_back(
|
|
88
|
+
self, region: str, locale: str, id_or_slug: str
|
|
89
|
+
) -> dict[str, Any]:
|
|
86
90
|
"""
|
|
87
91
|
Return a specific card back by using card back ID or slug.
|
|
88
92
|
|
|
@@ -129,7 +133,9 @@ class HearthstoneGameDataApi(Api):
|
|
|
129
133
|
query_params = {"locale": locale}
|
|
130
134
|
return super().get_resource(resource, region, query_params)
|
|
131
135
|
|
|
132
|
-
def get_metadata_type(
|
|
136
|
+
def get_metadata_type(
|
|
137
|
+
self, region: str, locale: str, type_id: str
|
|
138
|
+
) -> dict[str, Any]:
|
|
133
139
|
"""
|
|
134
140
|
Return information about just one type of metadata.
|
|
135
141
|
|
|
@@ -14,5 +14,9 @@ class Starcraft2Api:
|
|
|
14
14
|
|
|
15
15
|
def __init__(self, client_id: str, client_secret: str) -> None:
|
|
16
16
|
"""Init Starcraft2."""
|
|
17
|
-
self.community: Starcraft2CommunityApi = Starcraft2CommunityApi(
|
|
18
|
-
|
|
17
|
+
self.community: Starcraft2CommunityApi = Starcraft2CommunityApi(
|
|
18
|
+
client_id, client_secret
|
|
19
|
+
)
|
|
20
|
+
self.game_data: Starcraft2GameDataApi = Starcraft2GameDataApi(
|
|
21
|
+
client_id, client_secret
|
|
22
|
+
)
|
{blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/starcraft2/starcraft2_community_api.py
RENAMED
|
@@ -131,7 +131,9 @@ class Starcraft2CommunityApi(Api):
|
|
|
131
131
|
Returns:
|
|
132
132
|
Dict[str, Any]: A dictionary containing the ladder data.
|
|
133
133
|
"""
|
|
134
|
-
resource =
|
|
134
|
+
resource = (
|
|
135
|
+
f"/sc2/profile/{region_id}/{realm_id}/{profile_id}/ladder/{ladder_id}"
|
|
136
|
+
)
|
|
135
137
|
query_params["locale"] = locale
|
|
136
138
|
return super().get_resource(resource, region, query_params)
|
|
137
139
|
|
|
@@ -40,7 +40,9 @@ class WowGameDataApi(Api):
|
|
|
40
40
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
41
41
|
return super().get_resource(resource, region, query_params)
|
|
42
42
|
|
|
43
|
-
def get_achievement(
|
|
43
|
+
def get_achievement(
|
|
44
|
+
self, region: str, locale: str, achievement_id: int
|
|
45
|
+
) -> dict[str, Any]:
|
|
44
46
|
"""
|
|
45
47
|
Return an achievement by ID.
|
|
46
48
|
|
|
@@ -56,7 +58,9 @@ class WowGameDataApi(Api):
|
|
|
56
58
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
57
59
|
return super().get_resource(resource, region, query_params)
|
|
58
60
|
|
|
59
|
-
def get_achievement_categories_index(
|
|
61
|
+
def get_achievement_categories_index(
|
|
62
|
+
self, region: str, locale: str
|
|
63
|
+
) -> dict[str, Any]:
|
|
60
64
|
"""
|
|
61
65
|
Return an index of achievement categories.
|
|
62
66
|
|
|
@@ -150,7 +154,9 @@ class WowGameDataApi(Api):
|
|
|
150
154
|
query_params = {"namespace": f"dynamic-classic-{region}", "locale": locale}
|
|
151
155
|
return super().get_resource(resource, region, query_params)
|
|
152
156
|
|
|
153
|
-
def get_auctions(
|
|
157
|
+
def get_auctions(
|
|
158
|
+
self, region: str, locale: str, connected_realm_id: int
|
|
159
|
+
) -> dict[str, Any]:
|
|
154
160
|
"""
|
|
155
161
|
Return all active auctions for a connected realm.
|
|
156
162
|
|
|
@@ -301,7 +307,9 @@ class WowGameDataApi(Api):
|
|
|
301
307
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
302
308
|
return super().get_resource(resource, region, query_params)
|
|
303
309
|
|
|
304
|
-
def get_covenant(
|
|
310
|
+
def get_covenant(
|
|
311
|
+
self, region: str, locale: str, covenant_id: int
|
|
312
|
+
) -> dict[str, Any]:
|
|
305
313
|
"""
|
|
306
314
|
Return a covenant by ID.
|
|
307
315
|
|
|
@@ -317,7 +325,9 @@ class WowGameDataApi(Api):
|
|
|
317
325
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
318
326
|
return super().get_resource(resource, region, query_params)
|
|
319
327
|
|
|
320
|
-
def get_covenant_media(
|
|
328
|
+
def get_covenant_media(
|
|
329
|
+
self, region: str, locale: str, covenant_id: int
|
|
330
|
+
) -> dict[str, Any]:
|
|
321
331
|
"""
|
|
322
332
|
Return media for a covenant by ID.
|
|
323
333
|
|
|
@@ -348,7 +358,9 @@ class WowGameDataApi(Api):
|
|
|
348
358
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
349
359
|
return super().get_resource(resource, region, query_params)
|
|
350
360
|
|
|
351
|
-
def get_soulbind(
|
|
361
|
+
def get_soulbind(
|
|
362
|
+
self, region: str, locale: str, soulbind_id: int
|
|
363
|
+
) -> dict[str, Any]:
|
|
352
364
|
"""
|
|
353
365
|
Return a soulbind by ID.
|
|
354
366
|
|
|
@@ -625,7 +637,9 @@ class WowGameDataApi(Api):
|
|
|
625
637
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
626
638
|
return super().get_resource(resource, region, query_params)
|
|
627
639
|
|
|
628
|
-
def get_heirloom(
|
|
640
|
+
def get_heirloom(
|
|
641
|
+
self, region: str, locale: str, heirloom_id: int
|
|
642
|
+
) -> dict[str, Any]:
|
|
629
643
|
"""
|
|
630
644
|
Return an heirloom by ID.
|
|
631
645
|
|
|
@@ -742,7 +756,9 @@ class WowGameDataApi(Api):
|
|
|
742
756
|
Returns:
|
|
743
757
|
Dict[str, Any]: A dictionary containing the item subclass details.
|
|
744
758
|
"""
|
|
745
|
-
resource =
|
|
759
|
+
resource = (
|
|
760
|
+
f"/data/wow/item-class/{item_class_id}/item-subclass/{item_subclass_id}"
|
|
761
|
+
)
|
|
746
762
|
namespace = f"static-classic-{region}" if is_classic else f"static-{region}"
|
|
747
763
|
query_params = {"namespace": namespace, "locale": locale}
|
|
748
764
|
return super().get_resource(resource, region, query_params)
|
|
@@ -1023,7 +1039,9 @@ class WowGameDataApi(Api):
|
|
|
1023
1039
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1024
1040
|
return super().get_resource(resource, region, query_params)
|
|
1025
1041
|
|
|
1026
|
-
def get_modified_crafting_category_index(
|
|
1042
|
+
def get_modified_crafting_category_index(
|
|
1043
|
+
self, region: str, locale: str
|
|
1044
|
+
) -> dict[str, Any]:
|
|
1027
1045
|
"""
|
|
1028
1046
|
Return the index of Modified Crafting categories.
|
|
1029
1047
|
|
|
@@ -1126,7 +1144,9 @@ class WowGameDataApi(Api):
|
|
|
1126
1144
|
|
|
1127
1145
|
# Mythic Keystone Affix API
|
|
1128
1146
|
|
|
1129
|
-
def get_mythic_keystone_affixes_index(
|
|
1147
|
+
def get_mythic_keystone_affixes_index(
|
|
1148
|
+
self, region: str, locale: str
|
|
1149
|
+
) -> dict[str, Any]:
|
|
1130
1150
|
"""
|
|
1131
1151
|
Return an index of mythic keystone affixes.
|
|
1132
1152
|
|
|
@@ -1179,7 +1199,9 @@ class WowGameDataApi(Api):
|
|
|
1179
1199
|
|
|
1180
1200
|
# Mythic Keystone Dungeon API
|
|
1181
1201
|
|
|
1182
|
-
def get_mythic_keystone_dungeons_index(
|
|
1202
|
+
def get_mythic_keystone_dungeons_index(
|
|
1203
|
+
self, region: str, locale: str
|
|
1204
|
+
) -> dict[str, Any]:
|
|
1183
1205
|
"""
|
|
1184
1206
|
Return an index of Mythic Keystone dungeons.
|
|
1185
1207
|
|
|
@@ -1227,7 +1249,9 @@ class WowGameDataApi(Api):
|
|
|
1227
1249
|
query_params = {"namespace": f"dynamic-{region}", "locale": locale}
|
|
1228
1250
|
return super().get_resource(resource, region, query_params)
|
|
1229
1251
|
|
|
1230
|
-
def get_mythic_keystone_periods_index(
|
|
1252
|
+
def get_mythic_keystone_periods_index(
|
|
1253
|
+
self, region: str, locale: str
|
|
1254
|
+
) -> dict[str, Any]:
|
|
1231
1255
|
"""
|
|
1232
1256
|
Return an index of Mythic Keystone periods.
|
|
1233
1257
|
|
|
@@ -1260,7 +1284,9 @@ class WowGameDataApi(Api):
|
|
|
1260
1284
|
query_params = {"namespace": f"dynamic-{region}", "locale": locale}
|
|
1261
1285
|
return super().get_resource(resource, region, query_params)
|
|
1262
1286
|
|
|
1263
|
-
def get_mythic_keystone_seasons_index(
|
|
1287
|
+
def get_mythic_keystone_seasons_index(
|
|
1288
|
+
self, region: str, locale: str
|
|
1289
|
+
) -> dict[str, Any]:
|
|
1264
1290
|
"""
|
|
1265
1291
|
Return an index of Mythic Keystone seasons.
|
|
1266
1292
|
|
|
@@ -1309,7 +1335,9 @@ class WowGameDataApi(Api):
|
|
|
1309
1335
|
Returns:
|
|
1310
1336
|
Dict[str, Any]: A dictionary containing the index of Mythic Keystone Leaderboard dungeon instances.
|
|
1311
1337
|
"""
|
|
1312
|
-
resource =
|
|
1338
|
+
resource = (
|
|
1339
|
+
f"/data/wow/connected-realm/{connected_realm_id}/mythic-leaderboard/index"
|
|
1340
|
+
)
|
|
1313
1341
|
query_params = {"namespace": f"dynamic-{region}", "locale": locale}
|
|
1314
1342
|
return super().get_resource(resource, region, query_params)
|
|
1315
1343
|
|
|
@@ -1423,7 +1451,9 @@ class WowGameDataApi(Api):
|
|
|
1423
1451
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1424
1452
|
return super().get_resource(resource, region, query_params)
|
|
1425
1453
|
|
|
1426
|
-
def get_pet_ability(
|
|
1454
|
+
def get_pet_ability(
|
|
1455
|
+
self, region: str, locale: str, pet_ability_id: int
|
|
1456
|
+
) -> dict[str, Any]:
|
|
1427
1457
|
"""
|
|
1428
1458
|
Return a pet ability by ID.
|
|
1429
1459
|
|
|
@@ -1522,7 +1552,9 @@ class WowGameDataApi(Api):
|
|
|
1522
1552
|
query_params = {"namespace": namespace, "locale": locale}
|
|
1523
1553
|
return super().get_resource(resource, region, query_params)
|
|
1524
1554
|
|
|
1525
|
-
def get_pvp_talent_slots(
|
|
1555
|
+
def get_pvp_talent_slots(
|
|
1556
|
+
self, region: str, locale: str, class_id: int
|
|
1557
|
+
) -> dict[str, Any]:
|
|
1526
1558
|
"""
|
|
1527
1559
|
Return the Pvp talent slots for a playable class by ID.
|
|
1528
1560
|
|
|
@@ -1581,7 +1613,9 @@ class WowGameDataApi(Api):
|
|
|
1581
1613
|
|
|
1582
1614
|
# Playable Specialization API
|
|
1583
1615
|
|
|
1584
|
-
def get_playable_specializations_index(
|
|
1616
|
+
def get_playable_specializations_index(
|
|
1617
|
+
self, region: str, locale: str
|
|
1618
|
+
) -> dict[str, Any]:
|
|
1585
1619
|
"""
|
|
1586
1620
|
Return an index of playable specializations.
|
|
1587
1621
|
|
|
@@ -1596,7 +1630,9 @@ class WowGameDataApi(Api):
|
|
|
1596
1630
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1597
1631
|
return super().get_resource(resource, region, query_params)
|
|
1598
1632
|
|
|
1599
|
-
def get_playable_specialization(
|
|
1633
|
+
def get_playable_specialization(
|
|
1634
|
+
self, region: str, locale: str, spec_id: int
|
|
1635
|
+
) -> dict[str, Any]:
|
|
1600
1636
|
"""
|
|
1601
1637
|
Return a playable specialization by ID.
|
|
1602
1638
|
|
|
@@ -1688,7 +1724,9 @@ class WowGameDataApi(Api):
|
|
|
1688
1724
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1689
1725
|
return super().get_resource(resource, region, query_params)
|
|
1690
1726
|
|
|
1691
|
-
def get_profession(
|
|
1727
|
+
def get_profession(
|
|
1728
|
+
self, region: str, locale: str, profession_id: int
|
|
1729
|
+
) -> dict[str, Any]:
|
|
1692
1730
|
"""
|
|
1693
1731
|
Return a profession by ID.
|
|
1694
1732
|
|
|
@@ -1704,7 +1742,9 @@ class WowGameDataApi(Api):
|
|
|
1704
1742
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1705
1743
|
return super().get_resource(resource, region, query_params)
|
|
1706
1744
|
|
|
1707
|
-
def get_profession_media(
|
|
1745
|
+
def get_profession_media(
|
|
1746
|
+
self, region: str, locale: str, profession_id: int
|
|
1747
|
+
) -> dict[str, Any]:
|
|
1708
1748
|
"""
|
|
1709
1749
|
Return media for a profession by ID.
|
|
1710
1750
|
|
|
@@ -1755,7 +1795,9 @@ class WowGameDataApi(Api):
|
|
|
1755
1795
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1756
1796
|
return super().get_resource(resource, region, query_params)
|
|
1757
1797
|
|
|
1758
|
-
def get_recipe_media(
|
|
1798
|
+
def get_recipe_media(
|
|
1799
|
+
self, region: str, locale: str, recipe_id: int
|
|
1800
|
+
) -> dict[str, Any]:
|
|
1759
1801
|
"""
|
|
1760
1802
|
Return media for a recipe by ID.
|
|
1761
1803
|
|
|
@@ -1788,7 +1830,9 @@ class WowGameDataApi(Api):
|
|
|
1788
1830
|
query_params = {"namespace": f"dynamic-{region}", "locale": locale}
|
|
1789
1831
|
return super().get_resource(resource, region, query_params)
|
|
1790
1832
|
|
|
1791
|
-
def get_pvp_season(
|
|
1833
|
+
def get_pvp_season(
|
|
1834
|
+
self, region: str, locale: str, pvp_season_id: int
|
|
1835
|
+
) -> dict[str, Any]:
|
|
1792
1836
|
"""
|
|
1793
1837
|
Return a PvP season by ID.
|
|
1794
1838
|
|
|
@@ -1841,7 +1885,9 @@ class WowGameDataApi(Api):
|
|
|
1841
1885
|
query_params = {"namespace": f"dynamic-{region}", "locale": locale}
|
|
1842
1886
|
return super().get_resource(resource, region, query_params)
|
|
1843
1887
|
|
|
1844
|
-
def get_pvp_rewards_index(
|
|
1888
|
+
def get_pvp_rewards_index(
|
|
1889
|
+
self, region: str, locale: str, pvp_season_id: int
|
|
1890
|
+
) -> dict[str, Any]:
|
|
1845
1891
|
"""
|
|
1846
1892
|
Return an index of PvP rewards for a PvP season.
|
|
1847
1893
|
|
|
@@ -1859,7 +1905,9 @@ class WowGameDataApi(Api):
|
|
|
1859
1905
|
|
|
1860
1906
|
# PvP Tier API
|
|
1861
1907
|
|
|
1862
|
-
def get_pvp_tier_media(
|
|
1908
|
+
def get_pvp_tier_media(
|
|
1909
|
+
self, region: str, locale: str, pvp_tier_id: int
|
|
1910
|
+
) -> dict[str, Any]:
|
|
1863
1911
|
"""
|
|
1864
1912
|
Return media for a PvP tier by ID.
|
|
1865
1913
|
|
|
@@ -1890,7 +1938,9 @@ class WowGameDataApi(Api):
|
|
|
1890
1938
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1891
1939
|
return super().get_resource(resource, region, query_params)
|
|
1892
1940
|
|
|
1893
|
-
def get_pvp_tier(
|
|
1941
|
+
def get_pvp_tier(
|
|
1942
|
+
self, region: str, locale: str, pvp_tier_id: int
|
|
1943
|
+
) -> dict[str, Any]:
|
|
1894
1944
|
"""
|
|
1895
1945
|
Return a PvP tier by ID.
|
|
1896
1946
|
|
|
@@ -1987,7 +2037,9 @@ class WowGameDataApi(Api):
|
|
|
1987
2037
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
1988
2038
|
return super().get_resource(resource, region, query_params)
|
|
1989
2039
|
|
|
1990
|
-
def get_quest_area(
|
|
2040
|
+
def get_quest_area(
|
|
2041
|
+
self, region: str, locale: str, quest_area_id: int
|
|
2042
|
+
) -> dict[str, Any]:
|
|
1991
2043
|
"""
|
|
1992
2044
|
Return a quest area by ID.
|
|
1993
2045
|
|
|
@@ -2018,7 +2070,9 @@ class WowGameDataApi(Api):
|
|
|
2018
2070
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
2019
2071
|
return super().get_resource(resource, region, query_params)
|
|
2020
2072
|
|
|
2021
|
-
def get_quest_type(
|
|
2073
|
+
def get_quest_type(
|
|
2074
|
+
self, region: str, locale: str, quest_type_id: int
|
|
2075
|
+
) -> dict[str, Any]:
|
|
2022
2076
|
"""
|
|
2023
2077
|
Return a quest type by ID.
|
|
2024
2078
|
|
|
@@ -2202,7 +2256,9 @@ class WowGameDataApi(Api):
|
|
|
2202
2256
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
2203
2257
|
return super().get_resource(resource, region, query_params)
|
|
2204
2258
|
|
|
2205
|
-
def get_spell_media(
|
|
2259
|
+
def get_spell_media(
|
|
2260
|
+
self, region: str, locale: str, spell_id: int
|
|
2261
|
+
) -> dict[str, Any]:
|
|
2206
2262
|
"""
|
|
2207
2263
|
Return media for a spell by ID.
|
|
2208
2264
|
|
|
@@ -2266,7 +2322,9 @@ class WowGameDataApi(Api):
|
|
|
2266
2322
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
2267
2323
|
return super().get_resource(resource, region, query_params)
|
|
2268
2324
|
|
|
2269
|
-
def get_pvp_talent(
|
|
2325
|
+
def get_pvp_talent(
|
|
2326
|
+
self, region: str, locale: str, pvp_talent_id: int
|
|
2327
|
+
) -> dict[str, Any]:
|
|
2270
2328
|
"""
|
|
2271
2329
|
Return a PvP talent by ID.
|
|
2272
2330
|
|
|
@@ -2332,7 +2390,9 @@ class WowGameDataApi(Api):
|
|
|
2332
2390
|
query_params = {"namespace": f"static-{region}", "locale": locale}
|
|
2333
2391
|
return super().get_resource(resource, region, query_params)
|
|
2334
2392
|
|
|
2335
|
-
def get_tech_talent(
|
|
2393
|
+
def get_tech_talent(
|
|
2394
|
+
self, region: str, locale: str, tech_talent_id: int
|
|
2395
|
+
) -> dict[str, Any]:
|
|
2336
2396
|
"""
|
|
2337
2397
|
Return a tech talent by ID.
|
|
2338
2398
|
|
|
@@ -2434,7 +2494,9 @@ class WowGameDataApi(Api):
|
|
|
2434
2494
|
|
|
2435
2495
|
# Wow Token API
|
|
2436
2496
|
|
|
2437
|
-
def get_token_index(
|
|
2497
|
+
def get_token_index(
|
|
2498
|
+
self, region: str, locale: str, is_classic: bool = False
|
|
2499
|
+
) -> dict[str, Any]:
|
|
2438
2500
|
"""
|
|
2439
2501
|
Return the Wow Token index.
|
|
2440
2502
|
|
|
@@ -316,7 +316,9 @@ class WowProfileApi(Api):
|
|
|
316
316
|
Returns:
|
|
317
317
|
Dict[str, Any]: A dictionary containing the character's mounts collection summary.
|
|
318
318
|
"""
|
|
319
|
-
resource =
|
|
319
|
+
resource = (
|
|
320
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/collections/mounts"
|
|
321
|
+
)
|
|
320
322
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
321
323
|
return super().get_resource(resource, region, query_params)
|
|
322
324
|
|
|
@@ -335,7 +337,9 @@ class WowProfileApi(Api):
|
|
|
335
337
|
Returns:
|
|
336
338
|
Dict[str, Any]: A dictionary containing the character's pets collection summary.
|
|
337
339
|
"""
|
|
338
|
-
resource =
|
|
340
|
+
resource = (
|
|
341
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/collections/pets"
|
|
342
|
+
)
|
|
339
343
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
340
344
|
return super().get_resource(resource, region, query_params)
|
|
341
345
|
|
|
@@ -354,7 +358,9 @@ class WowProfileApi(Api):
|
|
|
354
358
|
Returns:
|
|
355
359
|
Dict[str, Any]: A dictionary containing the character's toys collection summary.
|
|
356
360
|
"""
|
|
357
|
-
resource =
|
|
361
|
+
resource = (
|
|
362
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/collections/toys"
|
|
363
|
+
)
|
|
358
364
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
359
365
|
return super().get_resource(resource, region, query_params)
|
|
360
366
|
|
|
@@ -411,7 +417,9 @@ class WowProfileApi(Api):
|
|
|
411
417
|
Returns:
|
|
412
418
|
Dict[str, Any]: A dictionary containing the character's dungeons summary.
|
|
413
419
|
"""
|
|
414
|
-
resource =
|
|
420
|
+
resource = (
|
|
421
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/encounters/dungeons"
|
|
422
|
+
)
|
|
415
423
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
416
424
|
return super().get_resource(resource, region, query_params)
|
|
417
425
|
|
|
@@ -430,7 +438,9 @@ class WowProfileApi(Api):
|
|
|
430
438
|
Returns:
|
|
431
439
|
Dict[str, Any]: A dictionary containing the character's raids summary.
|
|
432
440
|
"""
|
|
433
|
-
resource =
|
|
441
|
+
resource = (
|
|
442
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/encounters/raids"
|
|
443
|
+
)
|
|
434
444
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
435
445
|
return super().get_resource(resource, region, query_params)
|
|
436
446
|
|
|
@@ -487,7 +497,9 @@ class WowProfileApi(Api):
|
|
|
487
497
|
Returns:
|
|
488
498
|
Dict[str, Any]: A dictionary containing the media assets summary.
|
|
489
499
|
"""
|
|
490
|
-
resource =
|
|
500
|
+
resource = (
|
|
501
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/character-media"
|
|
502
|
+
)
|
|
491
503
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
492
504
|
return super().get_resource(resource, region, query_params)
|
|
493
505
|
|
|
@@ -670,7 +682,9 @@ class WowProfileApi(Api):
|
|
|
670
682
|
Returns:
|
|
671
683
|
Dict[str, Any]: A dictionary containing the character's completed quests.
|
|
672
684
|
"""
|
|
673
|
-
resource =
|
|
685
|
+
resource = (
|
|
686
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/quests/completed"
|
|
687
|
+
)
|
|
674
688
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
675
689
|
return super().get_resource(resource, region, query_params)
|
|
676
690
|
|
|
@@ -727,7 +741,9 @@ class WowProfileApi(Api):
|
|
|
727
741
|
Returns:
|
|
728
742
|
Dict[str, Any]: A dictionary containing the character's specializations summary.
|
|
729
743
|
"""
|
|
730
|
-
resource =
|
|
744
|
+
resource = (
|
|
745
|
+
f"/profile/wow/character/{realm_slug}/{character_name}/specializations"
|
|
746
|
+
)
|
|
731
747
|
query_params = {"namespace": f"profile-{region}", "locale": locale}
|
|
732
748
|
return super().get_resource(resource, region, query_params)
|
|
733
749
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: blizzardapi2
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.7
|
|
4
4
|
Summary: A Python wrapper for Blizzard API
|
|
5
5
|
Author-email: lostcol0ny <c098os0k@4wrd.cc>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.11
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
15
|
Requires-Dist: requests<3.0.0,>=2.32.3
|
|
16
|
-
Requires-Dist: black<
|
|
16
|
+
Requires-Dist: black<26.0.0,>=24.4.2
|
|
17
17
|
Requires-Dist: pytest<9.0.0,>=8.2.2
|
|
18
18
|
Requires-Dist: pytest-mock<4.0.0,>=3.14.0
|
|
19
19
|
Requires-Dist: ruff<1.0.0,>=0.3.0
|
|
@@ -22,8 +22,8 @@ Requires-Dist: aiohttp>=3.12.12
|
|
|
22
22
|
Provides-Extra: dev
|
|
23
23
|
Requires-Dist: pytest<9.0.0,>=8.2.2; extra == "dev"
|
|
24
24
|
Requires-Dist: pytest-mock<4.0.0,>=3.14.0; extra == "dev"
|
|
25
|
-
Requires-Dist: pytest-asyncio<
|
|
26
|
-
Requires-Dist: black<
|
|
25
|
+
Requires-Dist: pytest-asyncio<2.0.0,>=0.23.5; extra == "dev"
|
|
26
|
+
Requires-Dist: black<26.0.0,>=24.4.2; extra == "dev"
|
|
27
27
|
Requires-Dist: ruff<1.0.0,>=0.3.0; extra == "dev"
|
|
28
28
|
Dynamic: license-file
|
|
29
29
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
requests<3.0.0,>=2.32.3
|
|
2
|
-
black<
|
|
2
|
+
black<26.0.0,>=24.4.2
|
|
3
3
|
pytest<9.0.0,>=8.2.2
|
|
4
4
|
pytest-mock<4.0.0,>=3.14.0
|
|
5
5
|
ruff<1.0.0,>=0.3.0
|
|
@@ -9,6 +9,6 @@ aiohttp>=3.12.12
|
|
|
9
9
|
[dev]
|
|
10
10
|
pytest<9.0.0,>=8.2.2
|
|
11
11
|
pytest-mock<4.0.0,>=3.14.0
|
|
12
|
-
pytest-asyncio<
|
|
13
|
-
black<
|
|
12
|
+
pytest-asyncio<2.0.0,>=0.23.5
|
|
13
|
+
black<26.0.0,>=24.4.2
|
|
14
14
|
ruff<1.0.0,>=0.3.0
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "blizzardapi2"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.7"
|
|
4
4
|
description = "A Python wrapper for Blizzard API"
|
|
5
5
|
authors = [{ name = "lostcol0ny", email = "c098os0k@4wrd.cc" }]
|
|
6
6
|
license = "MIT"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
dependencies = [
|
|
9
9
|
"requests>=2.32.3,<3.0.0",
|
|
10
|
-
"black>=24.4.2,<
|
|
10
|
+
"black>=24.4.2,<26.0.0",
|
|
11
11
|
"pytest>=8.2.2,<9.0.0",
|
|
12
12
|
"pytest-mock>=3.14.0,<4.0.0",
|
|
13
13
|
"ruff>=0.3.0,<1.0.0",
|
|
@@ -38,8 +38,8 @@ local_scheme = "node-and-timestamp"
|
|
|
38
38
|
dev = [
|
|
39
39
|
"pytest>=8.2.2,<9.0.0",
|
|
40
40
|
"pytest-mock>=3.14.0,<4.0.0",
|
|
41
|
-
"pytest-asyncio>=0.23.5,<
|
|
42
|
-
"black>=24.4.2,<
|
|
41
|
+
"pytest-asyncio>=0.23.5,<2.0.0",
|
|
42
|
+
"black>=24.4.2,<26.0.0",
|
|
43
43
|
"ruff>=0.3.0,<1.0.0",
|
|
44
44
|
]
|
|
45
45
|
|
|
@@ -78,7 +78,7 @@ exclude = [
|
|
|
78
78
|
line-length = 120
|
|
79
79
|
|
|
80
80
|
# Assume Python 3.11
|
|
81
|
-
target-version = "
|
|
81
|
+
target-version = "py311"
|
|
82
82
|
|
|
83
83
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
84
84
|
select = ["E4", "E7", "E9", "F"]
|
|
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
|
|
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
|
{blizzardapi2-2.1.5 → blizzardapi2-2.1.7}/blizzardapi2/starcraft2/starcraft2_game_data_api.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|