Niko
e13b10885a
Convert docstrings to reStructuredText ( #1185 )
...
* convert docstings to reStructuredText format for client.py
* convert docstings to reStructuredText format for cache_handler.py, exceptions.py, oauth2.py, scope.py, util.py
* fix formatting and inconsistencies
* add changelog
2025-02-02 09:20:42 +01: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
Niko
3b1fd2a8f3
Merge branch 'master' into v3_rebase_rebase
...
# Conflicts:
# setup.py
2025-01-05 13:12:49 +01:00
Niko
645ed6da56
Bump version to 2.25.0
2025-01-03 13:30:08 +01:00
Niko
14ab13d292
add deprecation warnings and FAQ to respond to Spotify's API changes ( #1177 )
...
* add deprecation warnings and FAQ to respond to Spotify's API changes
* remove test cases associated with deprecated methods
* added missing commas
2025-01-03 13:26:08 +01:00
dieser-niko
5c16cc25dd
use TypeError instead of generic Exception for normalize_scope
2024-10-13 22:35:48 +02:00
dieser-niko
8622b885a0
fix import for scope
2024-10-13 22:33:23 +02:00
dieser-niko
d140d1a4b6
return Scope.make_string(scope) if all values in scope are Scope objects
2024-10-13 22:31:28 +02:00
dieser-niko
77b2bd90bc
instead of checking if item is list or tuple, just check if it's iterable
2024-10-13 22:23:57 +02:00
dieser-niko
ef69d4dde4
fix test_scopes.py
2024-10-13 22:18:16 +02:00
dieser-niko
d874d53857
fix test_scopes.py (Empty scopes are None, not "")
2024-10-13 22:16:19 +02:00
dieser-niko
5e127c9ab2
fix test_scopes.py (Empty scopes are None, not "")
2024-10-13 22:13:47 +02:00
dieser-niko
a675e6a9bd
fix test
2024-10-13 22:08:25 +02:00
dieser-niko
27836284d7
fix imports
2024-10-13 22:02:32 +02:00
dieser-niko
364d082396
re-add normalize_scope and Retry class to util.py
2024-10-13 21:59:36 +02:00
Niko
db3fb9a5ee
created SpotifyBaseException and moved exceptions from oauth2.py to exceptions.py ( #1161 )
2024-10-08 18:40:53 +02:00
Niko
66ad716595
Print warnings when a rate/request limit is reached ( #1134 )
...
* create custom urllib3.Retry class for printing warnings on rate/request limits
* move import urllib3 from client.py to util.py
* Using Retry.increment instead of Retry.is_retry. Shows the Retry-After value in the warning as well
* Making sure that max column <= 99
* add types.TracebackType
* Change warning in request/rate limit warning
* adding all parameters, just to make sure
* fixing length of line
* making sure that response is not None
2024-06-25 09:26:19 +02:00
Niko
5e09c78ccf
Added an explanation for rate/request limits to FAQ ( #1133 )
2024-06-24 23:43:54 +02:00
Niko
126da62dd0
Fix API Reference ( #1126 )
...
* add base directory to PATH
* Check if build completes if redis is included
2024-05-30 20:33:17 +02:00
Niko
939b7557a5
Updated _regex_spotify_url to ignore /intl-<countrycode> in Spotify links ( #1100 )
...
* Updated _regex_spotify_url to ignore /intl-<countrycode> in Spotify links
* Updated documentation link and added some additional information
2024-05-22 12:43:04 +02:00
Niko
070b54f494
Merge pull request #1108 from spotipy-dev/1107-artist_albums-include_groups
...
Replaced argument "album_type" with "include_groups" in "Spotify.artist_albums"
2024-05-17 14:39:26 +02:00
Niko and Stéphane Bruckert
3b5708f5a0
Update spotipy/client.py
...
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com >
2024-05-17 14:38:19 +02:00
Niko
52f2b923ba
Removing whitespace (new IDE, sorry)
2024-05-17 12:46:23 +02:00
Niko
f4c2b90a29
Made sure that the line column is not over 99.
2024-05-17 12:41:57 +02:00
Niko
0a8e7f635e
Added missing comma to artist_albums
2024-05-17 12:37:54 +02:00
Niko
2e54f2c138
Replaced argument "album_type" with "include_groups" in "Spotify.artist_albums"
2024-05-17 12:35:23 +02:00
Niko
028539e08a
Merge pull request #964 from johncheng2011/bug/inheriting-exceptions-in-init
...
Ignore Attribute error in Spotify.__del__
2024-05-15 16:21:46 +02:00
Niko
6d8d9d1f9b
Merge branch 'master' into bug/inheriting-exceptions-in-init
2024-05-15 16:16:08 +02:00
Niko
17893a6115
Update CHANGELOG.md
2024-05-15 16:14:30 +02:00
Niko
160a57a1d6
Merge pull request #1069 from democat3457/patch-1
...
Fix unused description parameter in playlist creation example
2024-05-14 11:03:58 +02:00
Niko
23bf3c9d88
Merge pull request #1068 from Jack-Dane/master
...
Fix broken example
2024-05-09 20:30:11 +02:00