mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #720] [CLOSED] Added objects #1001
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#1001
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?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/720
Author: @MakeShiftArtist
Created: 8/29/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (7)
a5fd08fAdded User, Artist, Track, and Album Objects935ffcfadded search generators for artists, albums, and tracksf905b63Fixed typo in imports0df16b5fixed offset default value3f94887updated version96f382efixed objects, added new methodsc98388ccleaned client.search_ methods📊 Changes
3 files changed (+442 additions, -3 deletions)
View changed files
📝
setup.py(+1 -1)📝
spotipy/client.py(+60 -2)➕
spotipy/objects.py(+381 -0)📄 Description
Initial Objects commit
client now has 3 new methods to make searching more intuitive
search_artists(artist)
search_albums(album)
search_tracks(track)
These will return an object instead of json data, improving ease of use. the original search method is still there in case someone wants the original json data
Objects.py is well documented, but the documentation style is different.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.