使用API​​(Python)对Vimeo视频评论

发布于 2025-01-24 22:37:14 字数 228 浏览 1 评论 0原文

我正在尝试对使用其API在Vimeo上的一些视频发表评论,这是我的代码:

import vimeo
client = vimeo.VimeoClient(
api details…)
client.post('https://api.vimeo.com/videos/{ID}/comments')

我回想起HTTP消息400评论缺少,但是我需要发表评论?

谢谢。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

药祭#氼 2025-01-31 22:37:14

试试

client.post(
    'https://api.vimeo.com/videos/{ID}/comments',
    data={
        "text": "this is the comment"
    }
)

https://develiper.vimeer.vimeer.com/api/api/api/reference/reference/videos#create_comment_comment_comreply

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文