architv / soccer-cli

:soccer: Football scores for hackers. :computer: A command line interface for all the football scores.
MIT License
1.09k stars 222 forks source link

Soccer CLI argument team not working #37

Closed ueg1990 closed 8 years ago

ueg1990 commented 8 years ago

I ran the following command:

soccer --team=CRY (which i am assuming is Crystal Palace)

but I get the following message: 'No action during past week. Change the time parameter to get more fixtures.'

Any specific reason this is happening? Crystal Palace played today in the morning

Also, what is the code for Chelsea?

architv commented 8 years ago

Ah! That is because the API is usually updated 12 hours after the game.

The team code for Chelsea is CFC. Here is the list of all team codes.

ueg1990 commented 8 years ago

Thanks :)