[PR #720] [CLOSED] Added objects #1001

Closed
opened 2026-02-28 00:03:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/720
Author: @MakeShiftArtist
Created: 8/29/2021
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • a5fd08f Added User, Artist, Track, and Album Objects
  • 935ffcf added search generators for artists, albums, and tracks
  • f905b63 Fixed typo in imports
  • 0df16b5 fixed offset default value
  • 3f94887 updated version
  • 96f382e fixed objects, added new methods
  • c98388c cleaned 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.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/720 **Author:** [@MakeShiftArtist](https://github.com/MakeShiftArtist) **Created:** 8/29/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`a5fd08f`](https://github.com/spotipy-dev/spotipy/commit/a5fd08fff55af26e7be1a6f1617183d977d3d0cd) Added User, Artist, Track, and Album Objects - [`935ffcf`](https://github.com/spotipy-dev/spotipy/commit/935ffcfda892a4ad1bef129066603baad81b4310) added search generators for artists, albums, and tracks - [`f905b63`](https://github.com/spotipy-dev/spotipy/commit/f905b63268fe26a9ba86fb3aaa446a42e578ff5c) Fixed typo in imports - [`0df16b5`](https://github.com/spotipy-dev/spotipy/commit/0df16b54c4363cd9c5d96203c95271972707bf81) fixed offset default value - [`3f94887`](https://github.com/spotipy-dev/spotipy/commit/3f94887148d35e01af7d923e717996abc9f94f37) updated version - [`96f382e`](https://github.com/spotipy-dev/spotipy/commit/96f382e4e2f4573efbe2d095c65807849d130f43) fixed objects, added new methods - [`c98388c`](https://github.com/spotipy-dev/spotipy/commit/c98388c17d456b4e079a7e80d5700f187c13a166) cleaned client.search_ methods ### 📊 Changes **3 files changed** (+442 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+1 -1) 📝 `spotipy/client.py` (+60 -2) ➕ `spotipy/objects.py` (+381 -0) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#1001
No description provided.