Commit Graph

11 Commits

Author SHA1 Message Date
David Todd
95e34d0b0a Get a user's top 20 tracks and save it to a json file 2018-04-24 20:47:14 -05:00
David Todd
b15da78df1 Use the util.authorize_api method 2018-04-24 19:55:20 -05:00
David Todd
6801160694 client.currently_playing() works now that I'm no longer on an outdated version from pip 2018-04-24 19:00:51 -05:00
David Todd
dfadb26285 add port instructions to README 2018-04-24 16:35:44 -05:00
David Todd
b57347b606 authorize via an internal server instead of copy-paste 2018-04-24 16:32:08 -05:00
David Todd
4b03bbf48c Update README and add requirements.txt 2018-04-24 01:43:06 -05:00
David Todd (c0de)
eaca92b313 Remove Rate Limit stuff
This appears to be handled internally to the library instead:
https://github.com/plamere/spotipy/blob/master/spotipy/client.py#L153
2018-01-30 15:45:54 -06:00
David Todd (c0de)
b75cf268e8 Wait 10s and Add Error Handling
This can determine the difference between playing/not playing,
if the user token expired, and if we've been rate-limited.
This can be easily expanded in the future for various other exceptions.
2018-01-30 14:27:29 -06:00
David Todd (c0de)
7757235dbb Initial experiments complete
Here I learned how to authenticate my app over env, as well
as trigger an oauth login for the username specified

I created a small script that will write the now playing track info to a file
This is useful for keeping track of the song that is playing at all times
2018-01-27 22:01:42 -06:00
David Todd (c0de)
bcd6fa5b80 initial gitignore 2018-01-27 18:55:08 -06:00
David Todd (c0de)
53d6a900e6 Initial commit 2018-01-27 18:54:43 -06:00