Commit Graph

289 Commits

Author SHA1 Message Date
Paul Lamere
d0143f74b0 Merge pull request #182 from happyleavesaoc/connect-api
Add connect api endpoint
2017-09-17 11:43:08 -04:00
Paul Lamere
133f66ccd9 Merge pull request #179 from richardmitic/token-scope-check
Token cache handles null scopes correctly
2017-09-17 11:40:36 -04:00
Paul Lamere
cd6475f65c Merge pull request #202 from lorenzofar/master
Added recently played endpoint
2017-09-17 11:34:55 -04:00
Paul Lamere
58029fbb84 Merge pull request #173 from shantanugoel/fix_headless_execution
Fix execution on headless systems where webbrowser module may not be available
2017-09-17 11:33:44 -04:00
Paul Lamere
8297e138ca Merge pull request #191 from ErikBjare/master
Added currently playing endpoint
2017-09-17 11:32:29 -04:00
Paul Lamere
a99d20470f Merge pull request #169 from jessejoe/add_cache_path_param
Add cache_path as an argument to prompt_for_user_token()
2017-09-17 11:17:37 -04:00
happyleaves
ca3866dee6 fix append device 2017-08-17 20:57:04 -04:00
Lorenzo Farinelli
e1ca998b3a Added recently played endpoint 2017-07-10 23:57:33 +02:00
Erik Bjäreholt
9d47b98eab added currently playing endpoint 2017-05-13 10:35:48 +02:00
happyleaves
544614f4b1 connect api 2017-04-07 16:40:50 -04:00
Richard Mitic
dab5e08b7a Token cache handles null scopes correctly 2017-04-01 10:03:46 +02:00
Shantanu Goel
ab2f52e81a Fix execution on headless systems where webbrowser module may not be present 2017-03-21 18:38:39 +05:30
Jesse Jarzynka
403ab1cfa1 Add cache_path as an argument to prompt_for_user_token() 2017-03-08 00:51:39 -05: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
Paul Lamere
de1ec301e5 Added read_a_playlist example 2017-01-18 17:55:05 -05:00
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
josduj
4f15a6f07e Fixes error when scope is not set 2017-01-18 10:26:14 +01: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