architv/soccer-cli

No standings available for --league.

RafaelBroseghini opened this issue · 4 comments

I believe the soccer-cli is not retrieving any standings for leagues when invoking:
soccer --standings --league=LeagueName

soccer

+1

One has to fix the request url. As of today (03.03) my understanding is that the API changed from alpha to v1 and soccerseasons to competitions.

So in request_handler.py , line 9 should read:

    BASE_URL = 'http://api.football-data.org/v1/'

and line 74:

            req = self._get('competitions/{id}/leagueTable'.format(

and then follow instructions to install from source

still not getting standings with above fixes

This should work now.