Skip to content

Ni42/pokapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Pokemon Go API

Pokemon API PHP. Not finished at all so far.

Supports request signing.

Requirements

Installation

To install with Composer

composer require sjaakmoes/pokapi

Usage

$authentication = new TrainersClub('username', 'password');
$position = new Position($latitude, $longitude, $altitude);
$deviceInfo = DeviceInfo::getDefault($uniqueDeviceId);
$api = new API($authentication, $position, $deviceInfo);

// Initializes like the real client
$api->initialize();

// Accept ToS
$api->acceptTerms();

// Execute operation
$getPlayerResponse = $api->getPlayerData();
$mapObjects = $api->getMapObjects();

About

Pokemon GO API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%