Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
1.53.2
Browse files Browse the repository at this point in the history
hashing
uk25
app_version
  • Loading branch information
ZeChrales committed Nov 30, 2017
1 parent 93a423a commit 9ea01e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pgoapi/hash_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class HashServer(HashEngine):
_session.mount('https://', _adapter)
_session.verify = True
_session.headers.update({'User-Agent': 'Python pgoapi @pogodev'})
endpoint = "https://pokehash.buddyauth.com/api/v147_1/hash"
endpoint = "https://pokehash.buddyauth.com/api/v153_2/hash"
status = {}

def __init__(self, auth_token):
Expand Down
2 changes: 1 addition & 1 deletion pgoapi/pgoapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def set_logger(self, logger=None):

@staticmethod
def get_api_version():
return 7904
return 8300

def set_authentication(self, provider=None, oauth2_refresh_token=None, username=None, password=None, proxy_config=None, user_agent=None, timeout=None):
if provider == 'ptc':
Expand Down
2 changes: 1 addition & 1 deletion pgoapi/rpc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _build_main_request(self, subrequests, platforms, player_position=None):
sen.gravity_z = random.triangular(-1, .7, -0.8)
sen.status = 3

sig.unknown25 = -6553495230586135539
sig.unknown25 = 3081064678568720862

if self.device_info:
for key in self.device_info:
Expand Down

0 comments on commit 9ea01e8

Please sign in to comment.