Skip to content

Commit

Permalink
Added drop item func and comment out the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
solderzzc committed Jul 23, 2016
1 parent 3f672fa commit 46e2352
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,21 @@ def _setup_api(self):
print('[#] PokeBalls: ' + str(balls_stock[1]))
print('[#] GreatBalls: ' + str(balls_stock[2]))
print('[#] UltraBalls: ' + str(balls_stock[3]))

# Testing
#self.drop_item(Item.ITEM_POTION.value,1)
#exit(0)
self.get_player_info()

if self.config.initial_transfer:
self.initial_transfer()

print('[#]')
self.update_inventory();

def drop_item(self,item_id,count):
self.api.recycle_inventory_item(item_id=item_id,count=count)
inventory_req = self.api.call()
print(inventory_req)
def initial_transfer(self):
print('[x] Initial Transfer.')

Expand Down

0 comments on commit 46e2352

Please sign in to comment.