带有Node的Google API批处理请求 [英] Google API Batch Request with Node

查看:147
本文介绍了带有Node的Google API批处理请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到Google最近从其Node客户端删除了批处理请求:

I noticed Google removed batch requests from their Node client recently:

https://github.com/google/google-api-nodejs-client/blob/0db674b7d3a04cf65e223f876cf7b3f427025cd4/MIGRATING.md

我该如何使用Node编写批处理请求?给定一组邮件ID,我正在尝试获取Gmail中电子邮件的内容.

How might I write a batch request with Node? I'm trying to get the content of emails in Gmail given a set of message IDs.

这是Google说我应该这样做的方式,但我以前从未提出过此类请求:

Here's how Google says I should do it, but I've never made this type of request before:

https://developers.google.com/gmail/api/guides/batch

推荐答案

我已经创建了一个模块作为停靠点! https://github.com/wapisasa/batchelor

I've created a module as a stop gap! https://github.com/wapisasa/batchelor

我希望这能及时送达给您:)

I hope this got to you in time :)

这篇关于带有Node的Google API批处理请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆