Commit Graph

113 Commits

Author SHA1 Message Date
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
Christopher Li
2096d32a4e Added user_playlist_unfollow() method 2016-05-22 18:57:16 -04:00
eugenio412
83e42efa88 include refresh_access_token method to the library
in this way it's possible to refresh token even if it's not cached but saved somewhere else
2016-04-08 17:12:31 +02:00
Matt Kane
7472f41948 add recommendations endpoints 2016-03-30 15:08:34 -04:00
Paul Lamere
dd021c4087 Added top lists support 2016-03-12 09:59:16 -05:00
Paul Lamere
4587a0771d Cleaning up some tests 2016-02-20 08:54:11 -05:00
Paul Lamere
9c0b872e86 Adapted to new audio_features response 2016-02-17 09:18:06 -05:00
Paul Lamere
38ea4b6910 better handling when missing json payload 2016-02-12 07:24:28 -05:00
Paul Lamere
550be583b7 better detection of empty json block 2016-02-12 06:30:45 -05:00
Paul Lamere
44bbfac8b7 Added category end points 2016-02-02 07:25:33 -05:00
Paul Lamere
365d3714bf checkpoint 2015-12-30 16:11:27 -05:00
myselfhimself
8de2591c18 Avoid unneeded token renewal when cached token's scope contains currently required scope
Before that there was a strict string comparision "cached scope" == "currently required scope". Added a scope subset detection method.
2015-12-02 20:56:44 +01:00