1
Spotify API를 사용하려고하는데 클라이언트 자격 증명이 필요합니다. 나는 spotipy를 통합했으며, 사용자 정보 (즉, 아티스트의 트랙 이름 만 다운로드)를 요청할 필요가 없지만 오디오 기능에 액세스하려고 할 때 제대로 작동합니다.API 자격 증명을위한 환경 변수는 어디에 두어야합니까?
어떤 파일/스크립트에서 어떻게 자격 증명을 포함합니까?
이 그들이 oauth2.py 파일에 말할 것입니다 : 내가 here - Authorized Requests을 시작할 것
You can either provid a client_id and client_secret to the
constructor or set SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET
environment variables
https://github.com/plamere/spotipy/blob/master/examples/audio_features.py