Commit Graph

277 Commits

Author SHA1 Message Date
Paul Lamere
216f59f25b Readthedocs testing 2014-08-21 13:57:19 -04:00
Paul Lamere
a3b54a81aa fixed abspath error 2014-08-21 12:31:34 -04:00
Paul Lamere
c8ff3144b0 trying to get readthedocs to build 2014-08-21 12:29:09 -04:00
Paul Lamere
77c370a7e6 Fixed module to include client 2014-08-21 12:05:00 -04:00
Paul Lamere
5635252ad0 Added docs tree 2014-08-21 11:08:32 -04:00
Paul Lamere
0143b58837 Renamed spotipy to client to avoid confusion 2014-08-21 10:58:40 -04:00
Paul Lamere
9a3b5784b0 Fixed refresh token problem 2014-08-21 07:35:01 -04:00
Paul Lamere
1813b2502e reuse testing playlist for every test 2014-08-21 06:56:23 -04:00
Paul Lamere
d3b61757c2 Updated README.md with changes 2014-08-20 16:35:05 -04:00
Paul Lamere
4e70a2f7f3 Fixed up the packaging a bit 2014-08-20 16:28:47 -04:00
Paul Lamere
f43faea723 Added authtests 2014-08-20 15:50:32 -04:00
Paul Lamere
7601aaab58 refacord to support playlist editing 2014-08-20 14:08:49 -04:00
Paul Lamere
acd1e8b494 Merge pull request #16 from thelinmichael/add-yourmusic-contains-track-endpoint
Add support for checking if a user's Your Music library contains a track
2014-08-20 12:58:55 -04:00
Paul Lamere
9629d97bd6 Updated version number for pip 2014-08-19 14:37:48 -04:00
Paul Lamere
a17fb7c777 Updated version number 2014-08-19 13:20:57 -04:00
Paul Lamere
358b578d9c moved util into the main package 2014-08-17 10:28:56 -04:00
Paul Lamere
e35ef206d5 Moved util module into main package 2014-08-17 10:28:56 -04:00
Paul Lamere
05a459e1bd Merge pull request #19 from mattduck/fix-auth-token-refreshing
Fix user having to log in after token refresh
2014-08-17 10:26:41 -04:00
Matthew Duck
72d13dd0a7 Fix user having to login after first token refresh
Fix issue where the get_cached_token method returns None instead of the
cached token object, meaning that users have to login again when the
initial token expires. The problem has two aspects:

- The first time the user calls get_cached_token after token
  expiration, the token is refreshed but the "new_token_info" object is
  not returned.

- The second time the user calls get_cached_token after token
  expiration, the scope check fails, because the refresh_access_token
  method didn't include the "scope" key when it cached the new
  token_info results.
2014-08-04 16:17:21 +01:00
Matthew Duck
a6f096e3dc Add missing sys import 2014-07-30 17:36:21 +01:00
Michael Thelin
a4e6fc5a39 Add support for checking if a user's Your Music library contains a track 2014-07-24 00:27:35 -04:00
Paul Lamere
6d6841d387 Updated README and setup with version info 2014-07-23 10:34:24 -04:00
Paul Lamere
1ebbac6de7 Documentation and support for Your Music methods 2014-07-23 10:29:40 -04:00
Paul Lamere
2d98c30d01 Added support for 'Your Music' tracks 2014-07-23 10:04:07 -04:00
Paul Lamere
58123eda31 Merge pull request #15 from JMPerez/master
Rename scope to playlist-modify-public
2014-07-21 13:28:15 -04:00
José Manuel Pérez
2827591b9d Rename scope to playlist-modify-public
Spotify's Web API has renamed the `playlist-modify` scope to `playlist-modify-public` to better describe what it allows. Even though the old one will be supported for some time, the new one is the preferred way to go.
2014-07-21 13:02:01 +02:00
Paul Lamere
61baf982f4 Removed debug output 2014-07-07 17:40:52 +02:00
Paul Lamere
d8de7a8169 Added related artists to the README 2014-07-07 17:28:03 +02:00
Paul Lamere
1c1b84c1fa Added support for related artists 2014-07-07 17:25:19 +02:00
Paul Lamere
75a3779779 Don't use cached tokens when scope changes 2014-07-07 17:03:27 +02:00
Paul Lamere
4f6aef7e79 Added show_tracks example 2014-07-03 06:36:36 -04:00
Paul Lamere
803e338366 Addeded JSON error handling 2014-06-27 16:18:17 -04:00
Paul Lamere
a30a6557d1 Merge pull request #10 from lnunno/patch-1
Update search.py
2014-06-24 05:42:36 -04:00
Lucas
a19176d22e Update search.py
str is a keyword. Refactored variable to search_str.
2014-06-23 23:15:41 -06:00
Paul Lamere
8d0ab315cf Updated docs 2014-06-21 18:20:40 -04:00
Paul Lamere
dde80bae6a Added example that gets a user's starred items 2014-06-21 18:19:04 -04:00
Paul Lamere
7d284dbeab Merge pull request #9 from corycorycory/patch-2
Update __init__.py
2014-06-21 17:47:25 -04:00
corycorycory
f4e11ed170 Update __init__.py
user_playlist doesn't work with starred playlists, which pass an ID of None.

This will allow the user to pull data for starred playlists, which use the URI users/%s/starrred
2014-06-21 10:45:23 -05:00
Paul Lamere
ceaa030468 Fixed album search test 2014-06-19 14:41:52 -04:00
Paul Lamere
9b5b65073c Relaxed simplejson version dependency 2014-06-17 13:29:33 -04:00
Paul Lamere
f0415e9de2 Added support for adding tracks to a playlist 2014-06-17 13:28:45 -04:00
Paul Lamere
6ae679600a Merge pull request #7 from mattdennewitz/master
added simplejson to installation requirements
2014-06-17 13:08:22 -04:00
Matt Dennewitz
1790309e65 added simplejson to installation requirements 2014-06-17 12:00:44 -05:00
Paul Lamere
71bb395dfa Added 'add_to_playlist' example 2014-06-17 07:40:20 -04:00
Paul Lamere
2b4143aef1 Updated install procedures and docs 2014-06-16 13:39:32 -04:00
Paul Lamere
4da11677c5 Packaging tweaks 2014-06-16 13:39:32 -04:00
Paul Lamere
95e2d354e1 Merge pull request #5 from fsahin/master
Add country parameter to artist_albums
2014-06-09 09:14:32 -04:00
Paul Lamere
539c9fb652 improved oauth examples 2014-05-23 07:19:16 -04:00
Paul Lamere
edbf23a20f tools for making oauth easier for examples 2014-05-23 07:18:23 -04:00
Paul Lamere
1a816a6b2a Improved oauth error handling/new playlist example 2014-05-23 07:17:21 -04:00