Open hooniegit opened 11 months ago
$ curl --request GET \
--url https://api.spotify.com/v1/artists/[아티스트_ID] \
--header 'Authorization: Bearer [API_접속_토큰]'
$ curl --request GET \
--url 'https://api.spotify.com/v1/artists?ids=[아티스트_ID]%[아티스트_ID]%[아티스트_ID]' \
--header 'Authorization: Bearer [API_접속_토큰]'
$ curl --request GET \
--url https://api.spotify.com/v1/artists/[아티스트_ID]/albums \
--header 'Authorization: Bearer [API_접속_토큰]'
?include_groups=[앨범_종류] : album, single, appears_on, compilation
?offset=[시작_인덱스] : default 0
?limit=[표기_데이터_수] : default 20
$ curl --request GET \
--url https://api.spotify.com/v1/artists/[아티스트_ID]/top-tracks \
--header 'Authorization: Bearer [API_접속_토큰]'
$ curl --request GET \
--url https://api.spotify.com/v1/artists/[아티스트_ID]/related-artists \
--header 'Authorization: Bearer [API_접속_토큰]'
🔎 About
아티스트 정보의 API request를 위한 curl 명령어들을 정리합니다.