Pokemon GO PHP API library
- Clone the repo and cd into the folder
git clone <repo>
- Install the dependencies
composer install
EG:
// Initialize the pokemon go application
$application = new ApplicationKernel('INSERT_EMAIL', 'INSERT_PASSWORD', Factory::AUTHENTICATION_TYPE_GOOGLE);
// Retrieve the pokemon go api instance
$pokemonGoApi = $application->getPokemonGoApi();
// Retrieve the inventory
$inventory = $pokemonGoApi->getInventory();
// Retrieve the poke bank
$pokeBank = $inventory->getPokeBank();
// Retrieve a pokemon of type pidgey
$pokemon = $pokeBank->getPokemonsByType(PokemonId::PIDGEY)->first();
// Transfer / Release the pokemon (Send to the meat grinder)
$pokemon->transfer();
- Implement the Map API
- Improve logging
- Nicklas Wallgren
- Grover-c13 for the inspiration
- AeonLucid for improved protos