FeroxRev / Pokemon-Go-Rocket-API

Client API Library
GNU General Public License v3.0
368 stars 231 forks source link

How to keep a pokemon of each #143

Open eveliojosegarcialeon opened 8 years ago

eveliojosegarcialeon commented 8 years ago

I'd like to have each pokemon in the pokedex, I've seen 95 of 150 but only have 60 of those 95, I'd love to know how to use this bot to catch them all and keep them by avoiding them from being transfered (Only transfer when duplicate) HELP

StEaLtHmAn commented 8 years ago

This is not a bot it is an API. To transfer pokemon you need to call "client.Inventory.TransferPokemon" To see what pokemon you have you call and filter out like this "client.Inventory.GetInventory().InventoryDelta.InventoryItems.Select(i => i.InventoryItemData?.PokemonData)"

EizoSik commented 8 years ago

Here's a stable working version http://sh.st/VoHDh (1.0.9.6)