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
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
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
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
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
803e338366
Addeded JSON error handling
2014-06-27 16:18:17 -04:00
Paul Lamere
dde80bae6a
Added example that gets a user's starred items
2014-06-21 18:19:04 -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
f0415e9de2
Added support for adding tracks to a playlist
2014-06-17 13:28:45 -04:00
Matt Dennewitz
1790309e65
added simplejson to installation requirements
2014-06-17 12:00:44 -05: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
Faruk Sahin
da1e009dfa
Add country parameter to artist_albums
...
If country parameter is passed to artist_albums call, only
the albums available in the provided country will be returned
2014-05-20 14:54:58 +02:00
Paul Lamere
6ed7860b9d
Added support for token caching and refresh
2014-05-20 08:30:48 -04:00
Paul Lamere
9988c98b2e
Added paging support and example.
2014-05-19 06:49:08 -04:00
Paul Lamere
8dcaf7dba6
Repackaged for saner imports
2014-05-18 07:08:51 -04:00