diff --git a/league.py b/league.py index ad512cb9..0a3b8563 100644 --- a/league.py +++ b/league.py @@ -23,6 +23,7 @@ roman = ['I', 'II', 'III', 'IV', 'V'] # Get player rank info async def get_player_rank(region: str, summonerid: int, **kwargs): + print("[League] Getting league info for: {region} {summonerid}".format(region=region, summonerid=summonerid)) # GET the json unofficial API response r = await loop.run_in_executor(None, requests.get, 'https://{region}.api.pvp.net/api/lol/{region}/v2.5/league/by-summoner/{summonerid}' diff --git a/overwatch.py b/overwatch.py index 08a5648a..df50ef25 100644 --- a/overwatch.py +++ b/overwatch.py @@ -4,6 +4,9 @@ loop = asyncio.get_event_loop() # Get player data async def get_player_data(platform: str, region: str, battletag: str, **kwargs): + print("[Overwatch] Getting player info for: {platform} {region} {battletag}".format(platform=platform, + region=region, + battletag=battletag)) # Unofficial API requires - for discriminator numbers battletag = battletag.replace("#", "-") # GET the json unofficial API response