roclark / sportsipy

A free sports API written for python
MIT License
475 stars 189 forks source link

Cannot get past first example of tutorial #780

Closed macgormain closed 1 year ago

macgormain commented 1 year ago

Trying to run through tutorial

from sportsipy.nfl.teams import Teams

for team in Teams("2018"):
    print(team.name)

I've searched through the files themselves to find the original url location to ensure proper routing to each individual site and found nothing out of order. I've also tried every sport, even with .fb. using "team" instead of "teams"

My next solution is to delete the function that returns the print message so I can start debugging where exactly the library begins to fall apart. Will follow up.

Edit: run in virtual environment with proper dependencies