Created
July 28, 2016 20:21
-
-
Save trezy/85052df0845755945db37910106e02ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pprint | |
import sys | |
sys.path.append('../pgoapi') | |
from pgoapi import PGoApi | |
position = (43.060792, -89.410350, 0) | |
api = PGoApi() | |
api.set_position(*position) | |
api.get_player() | |
response_dict = api.call() | |
print('Response dictionary: \n\r{}'.format(pprint.PrettyPrinter(indent=4).pformat(response_dict))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment