我正在嘗試使用他們的 API 評論 Vimeo 上的一些視頻,這是我的代碼:
client = vimeo.VimeoClient(
token='tok',
key='key',
secret='secret')
client.post('https://api.vimeo.com/videos/{ID}/comments')
我收到了一條 http 訊息 400 缺少評論,但是我需要在哪里發表評論?
謝謝。
uj5u.com熱心網友回復:
嘗試
client.post(
'https://api.vimeo.com/videos/{ID}/comments',
data={
"text": "this is the comment"
}
)
https://developer.vimeo.com/api/reference/videos#create_comment_reply
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/466607.html
