Commit Graph

303 Commits

Author SHA1 Message Date
Paul Lamere
0e40d2bfc2 Merge pull request #212 from wesleybratt/patch-1
update user_playlists_contents.py
2017-09-17 11:59:21 -04:00
Paul Lamere
d31214642d Merge pull request #206 from lastfm/feature/add-show-dialog-auth-option
Add show_dialog auth url option
2017-09-17 11:57:01 -04:00
Paul Lamere
6aac91747f Merge pull request #205 from hvp/patch-1
Update user_playlists_contents.py
2017-09-17 11:55:11 -04:00
Paul Lamere
43b656dd71 Merge pull request #204 from waterafternoon/patch-1
Passing credentials into method
2017-09-17 11:54:21 -04:00
Paul Lamere
9054cfecfb Merge pull request #185 from ncordon/patch-1
Changes critical is not for !=
2017-09-17 11:50:08 -04:00
Paul Lamere
c06cba6849 Merge pull request #184 from Acrobot/patch-1
Fix quote formatting according to PEP 257
2017-09-17 11:48:58 -04:00
Paul Lamere
618994c0f0 Merge pull request #183 from moyiz/master
Added support for following an artist or user
2017-09-17 11:46:53 -04:00
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
wesleybratt
6c572ff5cd update user_playlists_contents.py
removed unused os import and unused variable 'top'
2017-09-10 20:05:42 -07:00
happyleaves
ca3866dee6 fix append device 2017-08-17 20:57:04 -04:00
Thomas Hooper
6c3c384bf0 Add show_dialog auth url option
Optional. Whether or not to force the user to approve the app again if they’ve already done so. If false (default), a user who has already approved the application may be automatically redirected to the URI specified by redirect_uri. If true, the user will not be automatically redirected and will have to approve the app again.

From https://developer.spotify.com/web-api/authorization-guide/
2017-08-02 10:36:10 +01:00
Harrison Perry
fc798aa684 Update user_playlists_contents.py
results was never used in the show_tracks method.
2017-07-26 17:24:25 +01:00
waterafternoon
1a03750ecf Passing credentials into method
clear example of using credentials without having to use environment variables
2017-07-22 08:23:33 -07: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
Nacho Cordón
5171911342 Changes critical is not for != 2017-04-14 21:04:24 +02:00
Andrzej Pomirski
7a5243dd64 Fix quote formatting according to PEP 257
PEP 257 says to use three " signs instead of ' signs.
2017-04-11 15:27:51 +02:00
moyiz
233ba44827 Added support for following an artist or user 2017-04-11 14:06:15 +03: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