amcquade / fresh_script

Find Spotify tracks posted to the HipHopHeads subreddit and add them to a Spotify playlist.
MIT License
92 stars 61 forks source link

Load credentials file #55

Closed dtcrout closed 5 years ago

dtcrout commented 5 years ago

I refactored the createUser() method to take in a credentials.json file so that when starting from scratch, the user/developer/tester doesn't have to go through the walkthrough of copy/pasting their credentials one by one when running python3 fresh.py.

I also added two new methods createUserConfig() and createPrawConfig to make the code more readable.

The README.md and .gitignore are also updated accordingly.

amcquade commented 5 years ago

@dtcrout looks good! thanks!