[PR #1074] [CLOSED] Supports the use of str in the recommendations function argument and Added Implemented url_to_id function to extract id from url #1151

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/1074
Author: @CureSaba
Created: 2/22/2024
Status: Closed

Base: masterHead: master


📄 Description

Supports the use of str in the recommendations function argument

why I did

This is to solve the problem that "," is inserted between characters by .join when str type is specified as a factor of the recommendations function.

Added url_to_id function to util module You can use this to extract id from url

why i did

The spotipy document says that URL input can be used, but the official API document says that it cannot be used, so I created a conversion function.


🔄 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/1074 **Author:** [@CureSaba](https://github.com/CureSaba) **Created:** 2/22/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📄 Description # Supports the use of str in the recommendations function argument ## why I did This is to solve the problem that "," is inserted between characters by .join when str type is specified as a factor of the recommendations function. # Added url_to_id function to util module You can use this to extract id from url ## why i did The spotipy document says that URL input can be used, but the official API document says that it cannot be used, so I created a conversion function. --- <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:50 +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#1151
No description provided.