Commit Graph

406 Commits

Author SHA1 Message Date
Harrison
43a4de0314 update version and README 2020-01-11 19:56:00 +00:00
Harrison
f1b796cf35 remove duplicate audio_analysis 2020-01-11 19:54:21 +00:00
Ryan K. Lee
5f45a0a54e Update show_album.py
Import SpotifyClientCredentials from spotipy.oauth2
2020-01-11 19:54:21 +00:00
Ryan K. Lee
bd1a122831 Update show_artist.py
Import SpotifyClientCredentials from spotipy.oauth2
2020-01-11 19:54:21 +00:00
Ryan K. Lee
e3185e22ec Update show_artist_top_tracks.py
Import SpotifyClientCredentials from spotipy.oauth2
2020-01-11 19:54:21 +00:00
Ryan K. Lee
90f1105648 Update show_related.py
Import SpotifyClientCredentials from spotipy.oauth2
2020-01-11 19:54:21 +00:00
Ryan K. Lee
5a00758609 Update show_track_info.py
Import SpotifyClientCredentials from spotipy.oauth2
2020-01-11 19:54:21 +00:00
Ryan K. Lee
c3bae42b9e Update simple0.py
Import oath
2020-01-11 19:54:21 +00:00
Ryan K. Lee
0c453c9945 Update simple1.py
Import oath
2020-01-11 19:54:21 +00:00
Ryan K. Lee
a677267bca Update simple2.py
Add import statements for oath
2020-01-11 19:54:21 +00:00
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
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
Nick Sonneveld
7d121cbff5 Close request object, not the whole connection. Allows keepalive 2018-03-30 15:09:57 +11:00
Alisha Ukani
63eebfa930 Use client credentials flow to fix broken non-authorized requests 2018-01-16 18:58:21 -05: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