Cloud Vision API

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
AidTIC
Posts: 117
Joined: Mon Apr 22, 2013 8:29 am
DBs Used: DBF
Contact:

Cloud Vision API

Post by AidTIC »

Estoy intentando autologearme en para usar la api de google - Cloud Visión API

Pero no consigo crear la url de autentificación, podríais orientarme?

He intentado con el código que gastan otros lenguajes, pero no consigo dar con la tecla.

https://cloud.google.com/vision/docs/pdf

He probado con esta estructura, pero nada, voy muy perdido:

Code: Select all

https://accounts.google.com/o/oauth2/v2/auth?
 response_type=code&
 client_id=424911365001.apps.googleusercontent.com&
 scope=openid%20email&
 redirect_uri=https%3A//oauth2.example.com/code&
 state=security_token%3D138r5719ru3e1%26url%3Dhttps%3A%2F%2Foauth2-login-demo.example.com%2FmyHome&
 login_hint=jsmith@example.com&
 nonce=0394852-3190485-2490358&
 hd=example.com
Gracias

* * * * * * * * * * * * * * * * * * * * * * * *
I am trying to log in to use the google api - Cloud Vision API

But I can't create the authentication url, could you guide me?

I have tried the code used by other languages, but I can't find the key.

[url] https://cloud.google.com/vision/docs/pdf [/ url]

I have tried with this structure, but nothing, I am very lost:

Code: Select all

https://accounts.google.com/o/oauth2/v2/auth?
 response_type=code&
 client_id=424911365001.apps.googleusercontent.com&
 scope=openid%20email&
 redirect_uri=https%3A//oauth2.example.com/code&
 state=security_token%3D138r5719ru3e1%26url%3Dhttps%3A%2F%2Foauth2-login-demo.example.com%2FmyHome&
 login_hint=jsmith@example.com&
 nonce=0394852-3190485-2490358&
 hd=example.com
Thanks
Skydone Solutions
www.skydone.com
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Cloud Vision API

Post by danielmaximiliano »

Hola SkyDone :
hace mucho hice un ejemplo de correos con POP3 con la libreria HBTip no para mi sino para un miembro de este foro..
siempre me quede con la duda de usar el protocolo IMAP, la libreria HBTip no soporta IMAP ni oAuth asi que tengo pendiente esa obra.
por lo que lei en https://developers.google.com/identity/protocols/oauth2 se debe obtener "OAuth 2.0 client credentials" de esa manera la aplicacion requiere in Token desde "OAuth 2.0 client credentials"
hay otros pasos a seguir despues...
espero tener unos dias libre para poder seguir con el proyecto de IMAP.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply