tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 445 forks source link

Google Auth #5

Closed LegITdevel closed 8 years ago

LegITdevel commented 8 years ago

Add Google authentication method #

fremgenc commented 8 years ago

This ingress demo may help. Looks like we need to steal the google cookie.

https://gist.github.com/neonichu/5186336

AeonLucid commented 8 years ago

I logged the login request and it gave me this. (This was on android 6.0.1)

Headers:

POST /auth HTTP/1.1 device: ***** app: com.nianticlabs.pokemongo Accept-Encoding: gzip User-Agent: GoogleAuth/1.4 (OnePlus3 MMB29M); gzip content-length: 521 content-type: application/x-www-form-urlencoded Host: android.clients.google.com Connection: Keep-Alive

pgo_auth

There may be another way but I don't know how to figure that out.

Mila432 commented 8 years ago

working Google Authentication https://github.com/Mila432/Pokemon_Go_API

tejado commented 8 years ago

Great! Thanks! If you don't mind, you can create a Pull Request to my repo.

Mila432 commented 8 years ago

It's up to you , people say it's dirty

Simon0x commented 8 years ago

https://github.com/tejado/pokemongo-api-demo/pull/17

Simon0x commented 8 years ago

This could be closed. merge of #17 done