File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def url_builder(self, args):
28
28
return urls
29
29
30
30
async def run (self ):
31
- self .logger .info ('Running baseball API' )
31
+ self .logger .info ('Running Baseball API' )
32
32
parsed = self .parse_args ()
33
33
api_data = {}
34
34
for section , url in self .url_builder (parsed ).items ():
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ def url_builder(self, args):
24
24
urls = {}
25
25
base = "https://v1.hockey.api-sports.io/"
26
26
if 'standings' in args :
27
- urls .update ({'standings' : base + f'standings?league=57&season=2020 ' })
27
+ urls .update ({'standings' : base + f'standings?league=57&season=2021 ' })
28
28
if 'next_game' in args :
29
29
urls .update ({'next_game' : base + f"games?team={ self .config .getint ('team_id' )} &league=57&season=2020&timezone=America/Chicago" })
30
30
return urls
31
31
32
32
async def run (self ):
33
- self .logger .info ('Running baseball API' )
33
+ self .logger .info ('Running Hockey API' )
34
34
parsed = self .parse_args ()
35
35
api_data = {}
36
36
for section , url in self .url_builder (parsed ).items ():
You can’t perform that action at this time.
0 commit comments