Richard Mitic
dab5e08b7a
Token cache handles null scopes correctly
2017-04-01 10:03:46 +02:00
Paul Lamere
7499d8e511
Adjusted retry sleep backoff
2017-01-22 08:04:51 -05:00
Paul Lamere
6261eae0e2
Fixed warn to work with varargs
2017-01-22 07:52:00 -05:00
Paul Lamere
dc996b363f
Merge pull request #158 from josduj/master
...
Fixes error when scope is not set
2017-01-18 17:58:22 -05:00
josduj
4f15a6f07e
Fixes error when scope is not set
2017-01-18 10:26:14 +01:00
Michael Birtwell
d092683be3
Make is_token_expired public
...
Make is_token_expired_public on SpotifyClientCredentials and SpotifyOAuth.
This method is useful for checking whether tokens that have been stored in cookies etc have timed out. So it's useful for library users to have access to it.
Refactor common implementation of is_token_expired
2017-01-07 16:21:13 +00:00
Paul Lamere
f638b0c59b
Merge pull request #149 from mbirtwell/python3_with_six
...
Use six to simplify python 2/3 compatibilty code where possible
2017-01-07 10:55:43 -05:00
Michael Birtwell
72a2fe489d
Use six to simplify python 2/3 compatibilty code where possible
2017-01-07 15:18:46 +00:00
Michael Birtwell
5aadb284ff
Add support for setting state in get_authorise_url
...
This allows for example putting a next page url in the state to be loaded after authorization completes.
2017-01-07 13:13:35 +00:00
Carlos Eduardo
e2b03937e7
Update client.py
...
Added a check if basestring class exists (Python2 case). If doesn't exist, alias `basestring` to `str` (Python3 case).
2017-01-04 17:20:47 -02:00
Carlos Eduardo
463d6c0878
Update function to make it compatible to Python 3.
...
The class `basestring` does not exist in Python 3. Change to `str`.
2017-01-04 15:53:50 -02:00
Paul Lamere
c8ff4b960a
Fixed proxy issue
2017-01-02 12:11:27 -05:00
Sebastian Bischoff
c14ee51a4c
Merge branch 'master' into audio-features_one-song
...
* master:
Added support for proxy
2017-01-02 14:58:52 +01:00
Sebastian Bischoff
87a4e8cb48
Add fetching of audio features of one song
2017-01-02 14:57:48 +01:00
Sebastian Bischoff
1ef89cfd2c
Merge branch 'master' into proxy
2017-01-02 14:43:40 +01:00
Paul Lamere
cb2d385845
Merge pull request #71 from myselfhimself/myselfhimself-scope-subsets
...
OAuth2: Avoid token renewal when scopes are subset of one another
2016-12-31 18:56:35 -05:00
Paul Lamere
f683535165
added current_user_saved_albums_add()
2016-12-31 18:51:37 -05:00
Paul Lamere
6b8ef3f4b0
Merge branch 'support_changing_playlist_details' of https://github.com/nathancoleman/spotipy into nathancoleman-support_changing_playlist_details
2016-12-31 18:07:41 -05:00
Paul Lamere
07b6c052e3
Merge pull request #109 from lwoloszy/master
...
Get new access token 60 seconds before old one times out
2016-12-31 17:56:42 -05:00
Paul Lamere
01ff9f1025
Merge pull request #88 from eugenio412/patch-1
...
include refresh_access_token method to the library
2016-12-31 17:21:46 -05:00
Paul Lamere
bfef299e43
Merge pull request #62 from mattiamaestrini/search_market
...
Add 'market' parameter to the search endpoint
2016-12-31 11:41:44 -05:00
Paul Lamere
920c4fbd4a
Merge pull request #65 from code-kitchen/retry-after
...
Use 'Retry-After' header if present.
2016-12-31 11:32:32 -05:00
Paul Lamere
36c830021f
added unfollow endpoint + tests
2016-12-31 10:58:01 -05:00
Paul Lamere
7632696106
Merge pull request #94 from LiYChristopher/user_unfollow
...
Added user_playlist_unfollow() method
2016-12-31 10:33:24 -05:00
Paul Lamere
ed06678353
Merge pull request #120 from hughrawlinson/patch-1
...
Add Audio-Analysis Endpoint Method
2016-12-31 10:21:06 -05:00
Paul Lamere
fd35ddbeb7
Merge pull request #121 from squallcs12/add-me-playlists
...
add support /me/playlists method
2016-12-31 10:10:56 -05:00
Paul Lamere
b48990f02a
renamed me_playlists t
...
renamed me_playlists to current_user_playlists to match style of other 'me' endpoints
2016-12-31 10:10:22 -05:00
Paul Lamere
4966799c55
Merge pull request #122 from jotsif/market_for_tracks_call
...
Add market parameter to tracks() call
2016-12-31 09:54:12 -05:00
Paul Lamere
789e30fd4a
Merge pull request #125 from alexey-v-paramonov/master
...
Added 'requests_timeout' option
2016-12-31 09:41:35 -05:00
Paul Lamere
6b774e9f48
Merge pull request #138 from nyanfly/master
...
Add Audio Analysis Endpoint Support
2016-12-31 09:32:14 -05:00
Nathan Coleman
655e1bf7e3
Add type check for name kwarg
2016-12-26 11:46:45 -06:00
Nathan Coleman
5ecfad1d3a
Support optional collaborative kwarg
2016-12-26 11:32:28 -06:00
Nathan Coleman
7c5bfbdf86
Merge branch 'master' into support_changing_playlist_details
2016-12-26 10:25:49 -06:00
delucks
3587e107c0
Swap use of subprocess.call for webbrowser.open in util.py
2016-12-20 22:44:03 -08:00
Willie Zhu
6d67858e8c
Add audio analysis API
2016-12-15 16:21:05 -05:00
Ben Tappin
aecd392c4a
Use 'Retry-After' header if present.
2016-12-11 19:01:00 +00:00
Stephen
a97959c54e
add follow playlist api call
2016-12-08 14:38:46 -05:00
Nathan Coleman
7867c4fe28
Merge branch 'master' into support_changing_playlist_details
...
Conflicts:
spotipy/client.py
2016-11-15 12:43:35 -06:00
Alexey V Paramonov
aae5f0ee80
Added 'requests_timeout' option to tell Requests to stop waiting for a response after a given number of seconds
2016-10-29 17:02:25 +03:00
steinitzu
1304ac33c0
Recommendations seeds parameters formatted as a comma seperated list to
...
comply with Spotify API. Fixes problem of only first
seed_artist/track/genre being used to generate recommendations.
Mltiple params in the form of "seed_artist=xxxx&seed_artists=yyyy"
results in Spotify API ignoring everything but the first parameter.
2016-10-24 12:19:08 -04:00
Josef Lindman Hörnlund
976b0d07e4
Add market parameter to tracks() call
2016-10-18 17:51:08 +02:00
Bang Dao
1f4189b1be
add me_playlists method
2016-10-18 10:14:54 +07:00
Hugh Rawlinson
5e3cc1f546
Add Audio-Analysis Endpoint Method
2016-10-15 14:41:48 +02:00
Sebastian Bischoff
96e9d3b7df
Added support for proxy
2016-08-23 16:48:49 +02:00
Nathan Coleman
931abce4d7
Merge branch 'master' into support_changing_playlist_details
...
Conflicts:
spotipy/client.py
2016-08-22 21:29:52 -05:00
Luke Woloszyn
ff7b0f3e2a
get new access token ~60 seconds before old one times out
2016-07-27 08:10:45 -07:00
Johan Brodin
5860a5dc2c
Added market parameter to user_playlist_tracks
...
According to https://developer.spotify.com/web-api/get-playlists-tracks/ this endpoints supports an market option. This is important to specify if you want to ensure 'preview_url' on your tracks (https://github.com/spotify/web-api/issues/148 )
2016-06-09 09:42:51 +02:00
Nathan Coleman
80bcbb1893
Make a pass for cleanup and PEP8 compliance
2016-05-31 20:02:25 -04:00
Nathan Coleman
1fae780adb
Support changing details for a user playlist
2016-05-31 20:02:06 -04:00
Christopher Li
70701d8387
Adjusted docstring for user_playlist_unfollow method
2016-05-22 19:05:22 -04:00