mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1118] API Reference Refers to Deprecated Methods #665
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#665
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bartokay on GitHub (May 25, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1118
Example:
https://spotipy.readthedocs.io/en/2.22.1/#spotipy.client.Spotify.artist_albums
artist_albums(artist_id, album_type=None, country=None, limit=20, offset=0)The docs reference
album_type, which has been deprecated and replaced withinclude_groups. This is noted inclient.py, butinclude_groupsis not mentioned in the docs at all.This is just one example - I noticed similar inconsistencies with some other methods in
client.pythat have DeprecationWarnings. While some updated methods are documented, the deprecated versions should either be marked as deprecated in the docs or removed entirely.@dieser-niko commented on GitHub (May 27, 2024):
Docs weren't updating correctly. We're already working on a solution to prevent this from happening in the future.
@dieser-niko commented on GitHub (May 30, 2024):
We have released a new version. The documentation should now also match the code. Here's a new link to the mentioned function: https://spotipy.readthedocs.io/en/2.24.0/#spotipy.client.Spotify.artist_albums
I'm closing the issue now, as I assume this has been resolved. You can of course reopen it if I missed something.