import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.754546
startLon = -73.995361
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login('ptc', 'username', 'password'
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
# This gathers the cells located around your given coords
cell_ids = util.get_cell_ids(startLat, startLon)
# generates timestamp based on cell-ids
timestamps = [0,] * len(cell_ids)
# pulls in all nearby objects, pokestops, gyms etc
response_dict = api.get_map_objects(latitude = startLat, longitude = startLon, since_timestamp_ms = timestamps, cell_id = cell_ids)
print response_dict
if __name__ == '__main__':
main()
import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.757001
startLon = -74.001953
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login('ptc', 'username', 'password'
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
#print response_dict
time.sleep(1)
count = 1
while count <= 100:
gymTest2 = api.fort_deploy_pokemon(fort_id = '57e956d492a34f23a139b1356dc47a97.16', pokemon_id = 6666666, player_latitude = startLat, player_longitude = startLon)
print gymTest2
time.sleep(1)
count = count + 1
if __name__ == '__main__':
main()
import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.754546
startLon = -73.995361
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login('ptc', 'username', 'password'
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
# This gathers the cells located around your given coords
cell_ids = util.get_cell_ids(startLat, startLon)
# generates timestamp based on cell-ids
timestamps = [0,] * len(cell_ids)
# pulls in all nearby objects, pokestops, gyms etc
response_dict = api.get_map_objects(latitude = startLat, longitude = startLon, since_timestamp_ms = timestamps, cell_id = cell_ids)
print response_dict
if __name__ == '__main__':
main()
import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.757001
startLon = -74.001953
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login('ptc', 'username', 'password'
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
#print response_dict
time.sleep(1)
count = 1
while count <= 100:
gymTest2 = api.fort_deploy_pokemon(fort_id = '57e956d492a34f23a139b1356dc47a97.16', pokemon_id = 6666666, player_latitude = startLat, player_longitude = startLon)
print gymTest2
time.sleep(1)
count = count + 1
if __name__ == '__main__':
main()
import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.754546
startLon = -73.995361
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login('ptc', 'username', 'password'
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
# This gathers the cells located around your given coords
cell_ids = util.get_cell_ids(startLat, startLon)
# generates timestamp based on cell-ids
timestamps = [0,] * len(cell_ids)
# pulls in all nearby objects, pokestops, gyms etc
response_dict = api.get_map_objects(latitude = startLat, longitude = startLon, since_timestamp_ms = timestamps, cell_id = cell_ids)
print response_dict
if __name__ == '__main__':
main()
import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.757001
startLon = -74.001953
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login('ptc', 'username', 'password'
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
#print response_dict
time.sleep(1)
count = 1
while count <= 100:
gymTest2 = api.fort_deploy_pokemon(fort_id = '57e956d492a34f23a139b1356dc47a97.16', pokemon_id = 6666666, player_latitude = startLat, player_longitude = startLon)
print gymTest2
time.sleep(1)
count = count + 1
if __name__ == '__main__':
main()
Copyright © 2024, NextGenUpdate.
All Rights Reserved.