0
이것은 다소 이상합니다. readthedocs에서 메서드를 시도했지만 속성 오류가 있음을 나타냅니다. 다음Spotipy에는 .devices() 메소드가 없습니다?
AttributeError: 'Spotify' object has no attribute 'devices'
코드는 :
import spotipy.util as util
import spotipy
(token left out for security reasons)
sp = spotipy.client.Spotify(auth=token)
sp.trace = True
sp.trace_out = True
print(sp.devices())
흠. 이상하게 들리며 문서에 있으며 소스 코드도 체크 아웃되어 있으며 거기에 인자가 없으며'me/devices' 엔드 포인트에서'GET'을 리턴해야합니다. 최신 버전의 라이브러리를 사용하고 있습니까? –
대단히 감사합니다! 이것은 내가 잘못 생각한 것을 도왔습니다 :) –