Commit Graph

334 Commits

Author SHA1 Message Date
Ryan K. Lee
faa5785a29 Update simple3.py
add import statements for oath
2020-01-11 19:54:21 +00:00
Ryan K. Lee
ba667d388c Update remove_tracks_from_playlist.py
Update comments
2020-01-11 19:54:21 +00:00
Ryan K. Lee
32a6d4867b Update remove_specific_tracks_from_playlist.py
Update comments
2020-01-11 19:54:21 +00:00
Ryan K. Lee
3ed903e6ce Update print parentheses in read_a_playlist.py 2020-01-11 19:54:21 +00:00
Ryan K. Lee
cc158c34f1 Fix comments and parentheses in my_top_tracks.py 2020-01-11 19:54:21 +00:00
Ryan K. Lee
ba6e9a0b79 Add parentheses after print in my_top_artists.py 2020-01-11 19:54:21 +00:00
Ryan K. Lee
91639996e1 Fix comments in my_playlists.py 2020-01-11 19:54:21 +00:00
Ryan K. Lee
3f321bf5d4 update limit on current_user_saved_albums 2020-01-11 19:54:21 +00:00
Mostafa Garana
7b85b5ca63 Adding an endpoint for unfollowing users/artists. 2020-01-11 19:54:21 +00:00
Matt Comben
f8a6e4edb6 Fix bug where formatted arguments are passed to self._warn, which only accepts a single string 2020-01-11 19:54:21 +00:00
Brecht Yperman
e44bd7a936 Add library album management functions 2020-01-11 19:54:21 +00:00
Thomas Bechtold
909fa14977 docs: Use the print() function instead of the built-in
This is compatible with python2 and python3 so the examples don't
throw a SyntaxError when trying them with python 3.

Closes #329
2020-01-11 19:54:21 +00:00
Halvor Strand
469fbf1b1e Fixed docstring error
Fixed user_playlist_remove_all_occurrences_of_tracks docstring error, having "add to" instead of "remove from".
2020-01-11 19:54:21 +00:00
Josh Chorlton
f872f5b90c Minor docs fix 2020-01-11 19:54:21 +00:00
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
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