'Comment on vimeo video using API (python)
I'm trying to comment on some video that is on Vimeo using their API, this is my code :
import vimeo
client = vimeo.VimeoClient(
api details…)
client.post('https://api.vimeo.com/videos/{ID}/comments')
I recived an http message 400 the comment is missing, but where i need to put my comment ?
Thanks.
Solution 1:[1]
try
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | pzutils |