Commit Graph

271 Commits

Author SHA1 Message Date
Paul Lamere
d2f047514d Merge pull request #150 from mbirtwell/state_per_authorize_tests
Add unittest for state per authorize
2017-01-18 17:38:40 -05:00
Paul Lamere
e1344e2221 Proper requests version 2017-01-18 17:35:38 -05:00
Paul Lamere
8b84bd8bd0 Merge pull request #148 from mbirtwell/make_is_token_expired_public
Make is_token_expired public
2017-01-18 17:34:47 -05:00
Michael Birtwell
19449da361 Add unittest for state per authorize 2017-01-07 16:27:25 +00:00
Michael Birtwell
8dc90d2687 Add me to the contributors list 2017-01-07 16:22:03 +00: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
Paul Lamere
90eceeb530 Merge pull request #147 from mbirtwell/state_per_authorize
Add support for setting state in get_authorise_url
2017-01-07 10:42:05 -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
Paul Lamere
bf219eb264 bumped version 2017-01-05 06:23:58 -05:00
Paul Lamere
8f3afec197 Merge pull request #145 from carlosedp/patch-1
Update function to make it compatible to Python 3.
2017-01-04 14:32:21 -05: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
a1cf1bd309 Merge pull request #144 from mbirtwell/fix_unittest_for_refresh_access_token_rename
Fix the unit tests
2017-01-03 17:46:53 -05:00
Michael Birtwell
2b5583f2e6 Fix the unit tests
They were using the old name of refresh_access_token from before it was changed by @eugenio412.
2017-01-03 20:50:26 +00:00
Paul Lamere
fda9172935 Added title_chain example 2017-01-02 17:21:59 -05:00
Paul Lamere
a150103605 Updated version 2017-01-02 12:12:48 -05:00
Paul Lamere
88a1291fe4 Updated revision 2017-01-02 12:12:13 -05:00
Paul Lamere
c8ff4b960a Fixed proxy issue 2017-01-02 12:11:27 -05:00
Paul Lamere
f055db8fb3 bump the version number 2017-01-02 10:30:08 -05:00
Paul Lamere
01d3e1097b Merge pull request #142 from Baschdl/audio-features_one-song
Audio features of one song
2017-01-02 10:28:49 -05:00
Paul Lamere
41177ccb07 Updated revision number for push to pypi 2017-01-02 09:01:34 -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
Paul Lamere
408a3bbc36 Merge pull request #115 from Baschdl/proxy
Added support for proxy
2017-01-02 08:56:56 -05:00
Sebastian Bischoff
1ef89cfd2c Merge branch 'master' into proxy 2017-01-02 14:43:40 +01:00
Paul Lamere
a7840c8cec Updated version numbers 2016-12-31 19:06:17 -05: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
6cbc3586a3 Merge branch 'nathancoleman-support_changing_playlist_details' 2016-12-31 18:08:34 -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
eecff1fce7 Expanded 404 test 2016-12-31 17:54:12 -05:00
Paul Lamere
d5fb9f2f89 Merge pull request #110 from eugenio412/master
refresh_access_token available
2016-12-31 17:54:03 -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
6daccacd99 Merge pull request #49 from greenkey/fix/Issue#41
fix for Issue #41
2016-12-31 11:50:42 -05:00
Paul Lamere
f98791e8e3 Merge pull request #67 from arska/master
clarify SPOTIPY_REDIRECT_URI registration/authentication process
2016-12-31 11:48:53 -05:00
Paul Lamere
325bf99a29 Added market search tests 2016-12-31 11:47:41 -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
e176e9e4a8 Merge pull request #100 from jesseward/example-show-album
Fixed show_album example to retrieve album data.
2016-12-31 11:07:10 -05:00
Paul Lamere
3a385c5181 Merge pull request #91 from felipeumanzor/patch-1
Duplicated album detection improved
2016-12-31 11:06:14 -05:00
Paul Lamere
c319176882 Merge pull request #66 from gpoul/fix-usage
Fix usage message
2016-12-31 11:00:26 -05:00
Paul Lamere
36c830021f added unfollow endpoint + tests 2016-12-31 10:58:01 -05:00
Paul Lamere
18e5811539 added current_user_playlists example 2016-12-31 10:33:31 -05:00
Paul Lamere
76df337079 Added test for current_user_playlists 2016-12-31 10:33:31 -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
1573940058 Merge pull request #119 from jotasprout/master
Humble Spelling Correction
2016-12-31 10:23:10 -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