How to get authentication token for Google Custom Search Engine?

I am trying to create a Google search engine software. So I have to send a GET request as described in this link.

https://developers.google.com/custom-search/docs/api

GET http://www.google.com/cse/api/<USER_ID>/cse/<CSE_ID>
Authorization: GoogleLogin auth=IM6F7Cx2fo0TAiwlhNVdSE8Ov8hw6aHV 

Here they mentioned an authentication token. How can i get this?

+4
source share
3 answers

From the page you linked to Custom Search - Authentication

Although the account authentication API supports several authentication methods, custom search only supports ClientLogin

Answer. You get an access token from the client input.

, , , , OAuth2. OAuth2, . , .

+3

, ClientLogin , Google, :

",

Google for Work!

, GSS , , GSS , GSS.

Oauth 2.0 GSS.

# 6043481 Oauth 2.0 GSS. ETA, .

. , GSS GSS → → → .

, , ".

tl; dr: .

0

Source: https://habr.com/ru/post/1544466/


All Articles