-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge in (and fix) KeyPhact's U6 implementation #182
base: master
Are you sure you want to change the base?
Conversation
Update proto
Put semicolons back so it compiles
Based on newest proto
Fixing path issues
Added functions to generate the hashes and hashArray required for u6
Update utilities.py
another line to change
update to reflect renaming in proto
forgot to pass in the authticket
Fixed mistake in generateRequests
Fix Signature.proto
Quick fix to utilities functions
Quick fix to utilities functions
Added wrapper for signature encryption
changed request altitude to int value
Alternatively rebase with https://github.com/tejado/pgoapi if he accepts my commit.
def activate_signature(self, lib_path): | ||
self._signature_lib = lib_path | ||
|
||
def get_signature_lib(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally preference, but properties are awesome http://docs.quantifiedcode.com/python-anti-patterns/correctness/implementing_java-style_getters_and_setters.html
Python3 compatibility and Pep8 fixes
Use binascii's unhexlify (already imported) to decode the hex since using `decode` results in an AttributeError in Python 3.
Fix hex decoding in Python 3
For Python 3 compatibility, merge or cherry-pick pogodevorg/pgoapi@75eba6b and then pogodevorg/pgoapi@6b50289. |
* added scripts\accept-tos.py * tidied up accept-tos.py
Add a sane API timeout.
correctly return the new access_token after refresh
Add proxy support
Add auth service as an optional parameter
…irement Added future as a requirement
* Uses auth_info as seed when auth_ticket is unavailable This is what the client does too. * combined if statements
The proxy code got left behind when sessions were moved to the PGoApi object, so I applied it to the new sessions and simplified the code.
Is this going to get merged? |
We want to do this right?