我想通过 Pylast 通过 Last.fm API 获取用户信息,但它返回错误:绑定方法,我想我需要你的帮助。
import pylast
API_KEY = "xxx"
API_SECRET = "xxx"
username = "xxx"
password_hash = pylast.md5("xxx")
network = pylast.LastFMNetwork(api_key = API_KEY, api_secret = API_SECRET, username = username, password_hash = password_hash)
#Get User Info
user = pylast.User('xxx',network=network)
print user.get_id