Commit Graph

380 Commits

Author SHA1 Message Date
HES SONG
9d88a68d50 Update client.py (add playlist endpoint)
There was an upate with Spotify Web APi to bring playlist with using ID.
2020-01-11 19:54:21 +00:00
Sandeep Murthy
2ce270554a Update tests - make client credentials env. vars list a commonly accessible dictionary in spotipy/util.py 2020-01-11 19:54:20 +00:00
Sandeep Murthy
e5ccb9f355 Renaming some test modules: authtests.py -> test_auth.py, authtests2.py -> test_auth2.py, client_credential_tests.py -> test_client_credentials.py + update tox.ini 2020-01-11 19:54:20 +00:00
Sandeep Murthy
6639a98e24 Further clean up of tests 2020-01-11 19:54:20 +00:00
Sandeep Murthy
e9edf2a255 Miscellaneous fixes - clean up tests 2020-01-11 19:54:20 +00:00
Sandeep Murthy
502a56f987 Remove relative imports in spotify package initialiser 2020-01-11 19:54:20 +00:00
Sandeep Murthy
ef49cd6e03 Update spotify package initialiser 2020-01-11 19:54:20 +00:00
Sandeep Murthy
e1ba4a9bbb Re-order imports and specify UTF-8 encoding header in all base modules and package initialiser (ref. https://www.python.org/dev/peps/pep-0008/#imports, https://www.python.org/dev/peps/pep-0008/#source-file-encoding) + add __all__ attribute 2020-01-11 19:54:20 +00:00
Stephane Bruckert
1d7051c5b0 Bump to 2.5.0 2020-01-11 17:26:11 +00:00
Apurva Chitnis
cc473caf06
improve redirect wording and fix minor bugs 2019-08-26 23:35:20 +01:00
Tim Jagenberg
2252ea5cfa requests_cache compatibility 2019-07-27 22:26:28 +02:00
Mike Rossetti
d588d22a2d
Update oauth2.py 2019-04-14 21:30:16 -04:00
Halvor Strand
5f71d5e484
Fixed docstring error
Fixed user_playlist_remove_all_occurrences_of_tracks docstring error, having "add to" instead of "remove from".
2018-10-05 17:06:49 +02:00
William Reardon
1ea4d475b5
Update create_playlist.py
Added scope to token request
2018-06-23 20:37:58 -07:00
António Simões
5901db22fc
Fixes typo on recommendations usage comment
On the parameters list, seed_tracks had the same description as seed_artists.
Changed: "artist" -> "track"
2017-11-20 20:38:34 +00:00
Sebastien (Work)
6c83f09898 Format examples
Add spaces after ':' and ','.
    Remove spaces before and after '(', '{', '[', ']', '}'
    and ')'.
2017-10-23 23:02:17 +01:00
Sebastien (Work)
0b0942423c Remove spaces around keyword operator
remove space around operator '=' for keywords.
2017-10-23 22:53:20 +01:00
Sebastien (Work)
0eeeeb4a50 Remove unused imports
All imported modules that were note used in examples
    have been removed.
2017-10-23 22:50:05 +01:00
gwynnebaer
ffa9995b0a python 3 syntax for example 2017-10-13 10:24:53 -07:00
Paul Lamere
4c2c1d763a Merge pull request #217 from hugovk/update-versions
Add Python 3.5, 3.6, drop unsupported 2.6, 3.2, 3.3
2017-10-01 06:15:43 -04:00
hugovk
68e1193f45 Add Python 3.5, 3.6, drop unsupported 2.6, 3.2, 3.3 2017-10-01 11:35:59 +03:00
Paul Lamere
df6c089fcb Merge pull request #213 from hugovk/patch-1
Markdown formatting and consistency
2017-09-17 17:04:37 -04:00
Hugo
ffa6d77a08 Markdown formatting and consistency 2017-09-18 00:00:50 +03:00
Paul Lamere
328fc1a4ae Merge pull request #196 from nathancoleman/playlist_description_support
Playlist description support
2017-09-17 12:04:45 -04:00
Paul Lamere
91d89c3256 Merge branch 'master' into playlist_description_support 2017-09-17 12:03:49 -04:00
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
Nathan Coleman
4c3238fb17 Add playlist description field to create/update examples 2017-06-02 18:51:59 -05:00
Nathan Coleman
f5bb6db89f Add support for description field on playlist create/update 2017-06-02 18:51:38 -05: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