1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

try changing the check?

This commit is contained in:
Steffo 2020-10-15 19:21:43 +02:00
parent 057c129832
commit 73fb5a1798

View file

@ -51,13 +51,9 @@ class CheckPlayedSteamGame(Check):
log.debug(f"{self}") log.debug(f"{self}")
async with aiohttp.ClientSession() as ah_session: async with aiohttp.ClientSession() as ah_session:
# noinspection PyProtectedMember # noinspection PyProtectedMember
async with ah_session.get("https://api.steampowered.com/IPlayerService/GetOwnedGames/v1/", async with ah_session.get("https://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1/",
params={ params={
"steamid": status._steamid, "steamid": status._steamid,
"include_appinfo": "true",
"include_played_free_games": "true",
"include_free_sub": "true",
"appids_filter": self.appid,
"key": key, "key": key,
}) as response: }) as response:
try: try: