所以这就是我到目前为止所得到的。为了使用the api我需要提供我的令牌,但似乎没有任何参数可以让我这样做。提前致谢! < 3
编辑:Headers无法正常工作(无法输入字符串)。
$accept = 'application/json'
$authorization = 'BQDwgz....g1-KGRR'
$link = 'https://api.spotify.com/v1/users/spotifycharts/playlists/<id>/tracks'
Invoke-WebRequest -Uri $link -ContentType $accept -??? $authorization -Method Get