Commit Graph
29 Commits
Author SHA1 Message Date
Niko d8d1d901fc Merge 051e6d49af into 351d4223d0 2026-03-13 02:50:36 +00:00
Niko 6787aabe0f Merge pull request #1230 from spotipy-dev/pr/1228
* #1227 - Updated methods related to API changes

- Updated /tracks endpoints to /items
- Switching IDs to URIs for /me/library endpoint
- Fixed playlist limit to 50 (according to API)
- Added warnings for deprecated methods

* #1227 - Formatted code and updated changelog

* #1227 - Improved HTTP URLs computation with kwargs

* bump version to 2.26.0

---------
2026-03-03 17:34:10 +01:00
Niko 051e6d49af add warning when regex for uri fails 2025-12-23 19:39:54 +01:00
Niko 179d3e486c Update skipLabel to skipLabels in workflow 2025-12-23 18:43:11 +01:00
Niko b5be7fba6a add advisory link 2025-11-26 21:16:13 +01:00
Niko 48dab6eb6b bump version to 2.25.2 2025-11-26 21:11:15 +01:00
Niko 3ec8a2312c Improve logging (#1191)
* improve retry warning

* changelog

* fix lint issue
2025-03-26 07:41:07 +01:00
Niko 4f01f7187d Avoid garbage collection for requests.Session (#1189)
* workaround for garbage collection

* add missing import

* linting issues (wrong import order)

* fix imports
2025-03-07 20:02:43 +01:00
Niko d9ec669d5b added branch overview 2025-01-24 16:43:13 +01:00
Niko 1d920ff5df use f-strings 2025-01-23 19:05:27 +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 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
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
NikoandSté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