python - 如何使用python在博客api帖子插入中添加图像
问题描述
posts = service.posts()
body = {
"kind": "blogger#post",
"id": "" + str(post_id) + "",
"title": "" + title + "",
"content": "" + content + ""
, "labels": [
"software"
]
}
posts.insert(blogId=BlogId, body=body, isDraft=False, fetchBody=True, fetchImages=True).execute()
解决方案
推荐阅读
- linux - 在脚本中更改为root用户而不输入密码
- pytorch - 如何将张量转换为 Pytorch 中的复杂类型?
- wordpress - 从组内的文本字段中显示简码
- autohotkey - 如何使用图像搜索自动热键功能等待图像出现在屏幕上
- java - 当计数 > 100 Java 流时分组
- firebase - 我们可以通过短信将数据写入firebase数据库吗?
- python - Python JIRA rest api - 过滤器更改日志
- android - 无法完成 singleTask 活动
- php - 用数字嵌套for循环?
- user-interface - 我们如何自定义发送图标并将麦克风添加到 azure 聊天机器人框架?(写 nodejs 或 javascript)