tejado / pgoapi

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

Where do you get the username/password? #1

Closed ghost closed 8 years ago

ghost commented 8 years ago

/Library/Python/2.7/site-packages/requests-2.9.1-py2.7.egg/requests/packages/urllib3/util/ssl.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/requests-2.9.1-py2.7.egg/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Traceback (most recent call last): File "main.py", line 125, in main() File "main.py", line 107, in main access_token= login_pokemon('yourusername','yourpass') File "main.py", line 95, in login_pokemon ticket=re.sub('.*ticket=','',r1.history[0].headers['Location']) IndexError: list index out of range

pogoman3 commented 8 years ago

It's a PTC password that's hard-coded.

tejado commented 8 years ago

It is the Pokemon Trainer Club. You can register an account inside the game. Do you need google support?

tejado commented 8 years ago

not yet