Spotify

FREEMIUM
Verified
От Glavier | Обновлено 2 months ago | Music
Популярность

9.9 / 10

Задержка

505ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

Artist singles id not corresponding to track id?

Rapid account: Lifeisdrastictoo
lifeisdrastictoo
5 months ago

Is the artist singles id not supposed to correspond to the track id or is this a bug?

Ex:
Using 2w9zwq3AktTeYYMuhMjju8 , an artist id, as the required parameter for getting artist singles
If I go into data -> artist -> discography -> singles -> items -> 0 -> releases -> items -> 0 -> id , i’ll find that the id is 4kG9LIFl6dYNUSLjABjTbV , and the item is of type single

However, when I use the single id as the required parameter for get tracks, I am returned with null

Rapid account: Glavier
Glavier Commented 5 months ago

This is not a bug. The value you get is actually an Album ID. You must use the Album tracks endpoint to get the song ID.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии