Direct link to obtain a google custom search API key?

牧云@^-^@ 提交于 2020-01-13 02:24:11

问题


I have an API key that I use for Google custom search queries on the json search API that's here:

https://ajax.googleapis.com/ajax/services/search/web?v=1.0&rsz=8&q=

I need to send clients to a URL where they can each obtain a custom API key for their domains. However, I don't recall the URL I used to get my API key.

Does anyone know the most straight forward URL to send them to in order to obtain a key?

This one looks perfect: http://code.google.com/apis/loader/signup.html

But I'm not sure if that's the correct place for google custom search, since it refers to "Google Loader", which I'm not familiar with.


回答1:


You can get an API key by visiting https://code.google.com/apis/console and clicking "API Access". You will then need to switch on the custom search API on the "Services" tab.




回答2:


Wilfred's link got me started, but I didn't see the same thing as Wilfred. I had to click "Google APIs" (which links to here: https://console.developers.google.com/apis), then "Credentials".

"Custom Search API" is also available on the "Google APIs" screen if you need more information.



来源:https://stackoverflow.com/questions/7489862/direct-link-to-obtain-a-google-custom-search-api-key

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