WarEraAPI 0.2.12__tar.gz → 0.2.13__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.
- {wareraapi-0.2.12/src/WarEraAPI.egg-info → wareraapi-0.2.13}/PKG-INFO +1 -1
- {wareraapi-0.2.12 → wareraapi-0.2.13}/pyproject.toml +1 -1
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/constants.py +4 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/user.py +2 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13/src/WarEraAPI.egg-info}/PKG-INFO +1 -1
- {wareraapi-0.2.12 → wareraapi-0.2.13}/LICENSE +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/README.md +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/setup.cfg +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/__init__.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/client.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/errors.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/__init__.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/article.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/battle.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/battle_data.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/battle_order.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/company.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/country.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/entity_upgrade.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/event.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/game_dates.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/government.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/item_offer.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/military_unit.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/party.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/production_bonus.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/rankings.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/recommended_region.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/region.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/round.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/search_result.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/trading_order.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/__init__.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/article_tip_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/battle_loot_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/craft_item_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/dismantle_item_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/donation_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/item_market_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/open_case_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/trading_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/transactions/wage_tx.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/user_equipments.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/work_offer.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/types/worker.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI/utils.py +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI.egg-info/SOURCES.txt +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI.egg-info/dependency_links.txt +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI.egg-info/requires.txt +0 -0
- {wareraapi-0.2.12 → wareraapi-0.2.13}/src/WarEraAPI.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "WarEraAPI"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.13"
|
|
8
8
|
description = "an api client for the online Multiplayer game WarEra written in python (unfinished)"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "SpicyPenguin", email = "kerolisand@gmail.com" }
|
|
@@ -12,6 +12,7 @@ from WarEraAPI.types.constants import UserEquipment
|
|
|
12
12
|
from WarEraAPI.types.constants import UserRankings
|
|
13
13
|
from WarEraAPI.types.constants import UserBuffs
|
|
14
14
|
from WarEraAPI.types.constants import UserMute
|
|
15
|
+
from WarEraAPI.types.constants import UserPreferences
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
@dataclass
|
|
@@ -54,6 +55,7 @@ class User:
|
|
|
54
55
|
avatar: str | None = field(default=None)
|
|
55
56
|
phoneVerificationRequiredAt: datetime | None = field(default=None)
|
|
56
57
|
isAdmin: bool | None = field(default=None)
|
|
58
|
+
preferences: UserPreferences | None = field(default=None)
|
|
57
59
|
# TODO: add the type structure for thess args
|
|
58
60
|
skillsExpiration: dict | None = field(default=None)
|
|
59
61
|
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|