Google CSE REST API:v1已弃用,v2是否存在? [英] Google CSE REST API : is v1 deprecated, is there a v2?

查看:108
本文介绍了Google CSE REST API:v1已弃用,v2是否存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与google CSE API的许多用户一样,我最近收到了一封来自"Google自定义搜索"的电子邮件,询问我请迁移到自定义搜索元素API 2.0".我检查了文档,但它们仅描述了如何集成Google搜索输入在网站上.我目前正在使用Node.js程序中google cse的REST端点,因此无法使用它. 有关REST端点的文档仍引用了V1,因此我有点迷茫.我想知道此端点是否也已被弃用,并且很快将停止工作,并且是否可以通过REST端点使用(或将要使用)API的v2.

As many users of google CSE API, I received recently an email from "Google Custom Search" asking me "Please migrate to the Custom Search Element API 2.0". I checked the documentation, but they only describe how to integrate a google search input in a website. I am currently using the REST endpoint of google cse from a Node.js program, so I cannot use this. The documentation concerning the REST endpoint still references the V1, so I am a bit lost. I am wondering if this endpoint is also deprecated and will soon stop working, and if the v2 of the API is (or will be) available via a REST endpoint.

该主题已经发布在官方的Google论坛,似乎很多人对此感到担心,但是目前Google还没有答案,所以我在这里尝试!

This subject has already been posted on official Google forums, it seems that many people worry about this, but for now there is no answer from google, so I'm trying this here !

谢谢

推荐答案

由于 Google CSE论坛上的乔什·斯洛特(Josh Sloat).这是他从Google支持人员那里获得的答案:在寻找相关问题和Google Enterprise Search支持团队之一的反馈后.如果您使用JSON API来检索结果,而不是使用自定义搜索元素API 1.0/2.0代码段那么您将不会受到有关将自定义搜索元素API 1.0迁移到2.0的通信的影响." 因此看来REST API不受此更新的影响!

I finally found a satisfying answer, thanks to Josh Sloat on the Google CSE forum. Here is the answer he got from Google support : "Upon looking on a related issue and feedback from one of the Google Enterprise Search Support Team. If you are using JSON API to retrieve results and not using custom search element API 1.0/2.0 code snippets then you won't be impacted with the communication sent regarding the migration of custom search element API 1.0 to 2.0.". So it appears that the REST API isn't affected by this update !

这篇关于Google CSE REST API:v1已弃用,v2是否存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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