Closed behlkush closed 7 years ago
Are you running Python 3.x.x? That is not currently supported. I had the same issue.
I am on python 2.7.3.
I had thought earlier that it is related to my acccess key, but the same access key am able to get live scores.
Did you use pip install?
I had to clone the repo to get it to work properly.
Yes i did pip install.
Step 1: pip install soccer-cli
Step 2: export SOCCER_CLI_API_TOKEN="
Step 6: cat /home/username/.soccer-cli.ini --> I created .soccer-cli.ini under c:\Users\MYUSERNAME
I believe you should have pip uninstal soccer-cli
Before cloning the repo and doint the setup.
Do you mean i should now delete everything and start from scratch. Oh i see what i might have done. I have done both i guess. I installed using pip and cloned the repo as well.
I will clean up everything and just install using cloning the repo and post my results again.
Thanks Lisboa.
Hey Lisboa,
Update from my side. I had to wait before i could connect to internet without firewall from home and was able to get standings as per your suggestion.
c:\Learning\football\soccer-cli>soccer --standings --league=PL POS CLUB PLAYED GOAL DIFF POINTS 1 Chelsea FC 38 52 93 2 Tottenham Hotspur FC 38 60 86 3 Manchester City FC 38 41 78 4 Liverpool FC 38 36 76 5 Arsenal FC 38 33 75 6 Manchester United FC 38 25 69 7 Everton FC 38 18 61 8 Southampton FC 38 -7 46 9 AFC Bournemouth 38 -12 46 10 West Bromwich Albion FC 38 -8 45 11 West Ham United FC 38 -17 45 12 Leicester City FC 38 -15 44 13 Stoke City FC 38 -15 44 14 Crystal Palace FC 38 -13 41 15 Swansea City FC 38 -25 41 16 Burnley FC 38 -16 40 17 Watford FC 38 -28 40 18 Hull City FC 38 -43 34 19 Middlesbrough FC 38 -26 28 20 Sunderland AFC 38 -40 24
Closing the issue.
Any one getting this issue?
I have installed soccer-cli on windows but not able to get desired results.
C:\PRIV_LOCATION\Learning\PythonScripts\football>soccer --league EPL --standings No standings availble for EPL.
Similar results for all leagues.
However LIVE returns results: C:\PRIV_LOCATION\Learning\PythonScripts\football>soccer --live =================== UEFA Champions League ====================
Liverpool 2 vs 2 Sevilla FC FT
NK Maribor 1 vs 1 Spartak Moscow FT
Note that i have created a new environment variable in windows and made it a system variable: Variable Name: SOCCER_CLI_API_TOKEN Variable Value: MY_AUTH_CODE
Also I would like to apologize if this is not how to raise the issue. This is my first open source project that i have actually installed in my computer.
Regards, KB