本文介绍了Gmail API 批量获得支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Gmail API 进行 WEB HTTP 调用.有没有办法批量获取消息内容?

I am doing WEB HTTP calls using Gmail API. Is there a way to batch get message content?

似乎messages.list只返回messageIds,messages.get只支持单条消息查询.

It seems that messages.list only returns messageIds, and messages.get only support single message query.

列表 API:https://www.googleapis.com/gmail/v1/users/userId/messages获取 API:https://www.googleapis.com/gmail/v1/users/userId/messages/id

LIST API: https://www.googleapis.com/gmail/v1/users/userId/messagesGET API: https://www.googleapis.com/gmail/v1/users/userId/messages/id

帮帮我吧~谢谢!

推荐答案

你绝对可以做batched messages.get(),很多问题已经涵盖了它:https://stackoverflow.com/search?q=%5Bgmail-api%5D+batch

You can definitely do batched messages.get(), quite a few questions covering it already:https://stackoverflow.com/search?q=%5Bgmail-api%5D+batch

这篇关于Gmail API 批量获得支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 11:23