【发布时间】:2014-10-16 02:55:23
【问题描述】:
从SoundCloud API Guide,这是获取声音的流式 URL 的方法:
import soundcloud
# create a client object with your app credentials
client = soundcloud.Client(client_id='YOUR_CLIENT_ID')
# fetch track to stream
track = client.get('/tracks/293')
# get the tracks streaming URL
stream_url = client.get(track.stream_url, allow_redirects=False)
# print the tracks stream URL
print stream_url.location
有没有办法命令 API 以不同的速度或更好的速度返回声音的 URL,在不同的tempo?
【问题讨论】:
标签: soundcloud