diff options
Diffstat (limited to 'app_types')
-rw-r--r-- | app_types/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app_types/__init__.py b/app_types/__init__.py index 699928a..687faad 100644 --- a/app_types/__init__.py +++ b/app_types/__init__.py @@ -1,5 +1,7 @@ import fortnitepy +__season__ = 29 # must correlate to currently active season number + class UserStats: user_id: str user_display_name: str @@ -30,7 +32,7 @@ class User: async def fetch_stats(self) -> UserStats: stats = await self.__fortnite_user.fetch_br_stats() - bp_level: float = await self.__fortnite_user.fetch_battlepass_level(season=29) # TODO + bp_level: float = await self.__fortnite_user.fetch_battlepass_level(season=__season__) combined_stats = stats.get_combined_stats() device_stats = {} if 'keyboardmouse' in combined_stats: |