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

Use environment variable to store API token #31

Closed SanketDG closed 8 years ago

SanketDG commented 8 years ago

Currently, authtoken.API_TOKEN is being used as the API key, instead, a environment variable can be used. The environment variable can be read with the help of os.environ.get() method.

ueg1990 commented 8 years ago

i agree with this method 100%...its a very common method....i can send a pull request for this today unless you or someone else wants to go for it :)

architv commented 8 years ago

Fixed with #40