Commit Graph

15 Commits

Author SHA1 Message Date
Stéphane Bruckert
71fe07a5d1 Merge branch 'master' of github.com:spotipy-dev/spotipy into v3 2025-01-19 16:10:51 +00:00
Stéphane Bruckert
84f8b0a64b
Split test and lint workflows (#1183) 2025-01-18 15:21:51 +00:00
Stéphane Bruckert
935e3c16d7 Merge branch 'master' of github.com:spotipy-dev/spotipy into v3_rebase_rebase 2025-01-16 01:08:06 +00:00
Atharva Shah
5d0b8edff4
Use f-strings + code simplification (#961)
Resolves #960
2025-01-16 00:51:26 +00:00
Niko
2bc8d35fc6
Formatted strings (#1178)
* use newer string formatters (https://pyformat.info)

* fix typo

* went through the files again, additions from #1165 are also included

* replace .format() with f strings
2025-01-14 07:56:47 +01:00
Peter-Schorn
c8e045891b Renamed the auth parameter of Spotify.__init__ to access_token for better clarity.
Removed the `client_credentials_manager` and `oauth_manager` parameters because they are redundant.

Replaced the `set_auth` and `auth_manager` properties with standard attributes.

Removed the following deprecated methods from `Spotify`:
* `playlist_tracks`
* `user_playlist`
* `user_playlist_tracks`
* `user_playlist_change_details`
* `user_playlist_unfollow`
* `user_playlist_add_tracks`
* `user_playlist_replace_tracks`
* `user_playlist_reorder_tracks`
* `user_playlist_remove_all_occurrences_of_tracks`
* `user_playlist_remove_specific_occurrences_of_tracks`
* `user_playlist_follow_playlist`
* `user_playlist_is_following`

Removed the deprecated `as_dict` parameter from the `get_access_token` method of `SpotifyOAuth` and `SpotifyPKCE`.

Removed the deprecated `get_cached_token` and `_save_token_info` methods of `SpotifyOAuth` and `SpotifyPKCE`.

Removed `SpotifyImplicitGrant`.

Removed `prompt_for_user_token`.
2024-10-13 21:48:09 +02:00
Dj
b01adba826
Print -> Logging, fixes #84 (#461) 2020-04-03 23:03:09 +01:00
Stephane Bruckert
83a1cb54ef Fix doc and readme 2020-01-16 03:54:39 +00:00
Stéphane Bruckert
9b8c90dbe1
Merge branch 'master' into master 2020-01-15 19:16:38 +00:00
Stéphane Bruckert
f54830e272
Add linter, solves #348 (#415) 2020-01-12 13:19:40 +00:00
Alisha Ukani
63eebfa930 Use client credentials flow to fix broken non-authorized requests 2018-01-16 18:58:21 -05:00
Sebastien (Work)
6c83f09898 Format examples
Add spaces after ':' and ','.
    Remove spaces before and after '(', '{', '[', ']', '}'
    and ')'.
2017-10-23 23:02:17 +01:00
Joona Hoikkala
1f833afa45 Initial run of 2to3 2015-06-05 12:07:28 +03:00
Thomas Texier
4982cf1167 Fixed artist_albums.py
Was luckily working correctly, but was accessing the artist "global" variable, instead of the passed parameter.
2015-05-26 18:46:28 -04:00
Paul Lamere
58e5206076 Documentation updates 2014-08-22 09:28:19 -04:00