Skip to content

Commit

Permalink
Upgrade to the new api (#2636)
Browse files Browse the repository at this point in the history
* Upgraded to the latest api.

* To fit the latest api changes.

* Upgrade the pgoapi to commit fd462be412ac347ab517b68f269e2342a7226909

* Enable the exception, have a backup. for pokecli.py

* Changed the GA beacon.

* Revert "Enable the exception, have a backup. for pokecli.py"

This reverts commit 60f8eb4.

* Bump pgoapi to c070a789029792a75be34aed408906ee3e3653f

* Now should working.
  • Loading branch information
solderzzc authored Aug 7, 2016
1 parent 38c2c6c commit 5584610
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ To ensure that all updates are documented - [@eggins](https://github.com/eggins)
- [AHAAAAAAA](https://github.com/AHAAAAAAA/PokemonGo-Map) for parts of the s2sphere stuff


[![Analytics](https://ga-beacon.appspot.com/UA-81468120-1/welcome-page-master)](https://github.com/igrigorik/ga-beacon)
[![Analytics](https://ga-beacon.appspot.com/UA-81468120-1/welcome-page-new-api)](https://github.com/igrigorik/ga-beacon)
2 changes: 1 addition & 1 deletion pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def _setup_api(self):
# chain subrequests (methods) into one RPC call

self._print_character_info()

self.api.activate_signature("encrypt.so")
self.logger.info('')
self.update_inventory()
# send empty map_cells and then our position
Expand Down
3 changes: 1 addition & 2 deletions pokemongo_bot/api_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def create_request(self):
RequestClass = PGoApiRequest

return RequestClass(
self._api_endpoint,
self._auth_provider,
self,
self._position_lat,
self._position_lng,
self._position_alt
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy==1.11.0
networkx==1.11
-e git+https://github.com/tejado/pgoapi.git@0811db23d639039f968a82e06c7aa15a0a5016b6#egg=pgoapi
-e git+https://github.com/keyphact/pgoapi.git@9c070a789029792a75be34aed408906ee3e3653f#egg=pgoapi
geopy==1.11.0
protobuf==3.0.0b4
requests==2.10.0
Expand Down

0 comments on commit 5584610

Please sign in to comment.