PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Google API's
Google API's
Iniciado por Ruan, 02,dic. 2014 08:59 - No hay respuesta
Miembro registrado
214 mensajes
Publicado el 02,diciembre 2014 - 08:59
Good day

I have yet another problem with an API, We are trying to use Google Coordinate and are trying to add the details from webdev. I have worked with API's before and managed to get it to work. Google does it a bit different though. Here is the example of the request I need to send:

Get https://www.googleapis.com/coordinate/v1/teams/myteamid/workers?key={YOUR_API_KEY}

Authorization: Bearer 62CharCode
X-JavaScript-User-Agent: Google APIs Explorer


I tried to use this:

Resstart is string

Resstart = HTTPRequest("https://www.googleapis.com/coordinate/v1/teams/myteamid/workers?key=","","","","","google_login","googleAPI")
IF Resstart = True THEN
EDT_Text1 = HTTPGetResult()
END


or

Resstart is string

Resstart = HTTPRequest("https://www.googleapis.com/coordinate/v1/teams/myteamid/workers?key=googleAPI","","","","","google_login","62CharCode")
IF Resstart = True THEN
EDT_Text1 = HTTPGetResult()
END


Cannot get it to work - Keep telling me that :
"code": 401,
"message": "Login Required"

What am I doing wrong?

https://developers.google.com/coordinate/v1/

Thanks