Google CSE REST API : is v1 deprecated, is there a v2?

£可爱£侵袭症+ 提交于 2019-12-12 14:40:12

问题


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.

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 !

Thanks


回答1:


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 !




回答2:


Here to add that we had a tech support chat with Google today, and confirmed the same: JSON/REST v1 API is currently not going away. I'm glad to get clarity on this issue (for now...)



来源:https://stackoverflow.com/questions/43041894/google-cse-rest-api-is-v1-deprecated-is-there-a-v2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!