Pokéapi PHP wrapper. Support both v1 and v2 API.
$ composer install
require 'vendor/autoload.php';
use Pokeapi\Client;
// Default to v2, if you want to call v1 use Client('v1')
$client = new Client();
$pokemon = $client->get('berry', 1);
See the test for more usage examples.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes. Please write good commit messages. Here is a guide.
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
TODO: Write history
TODO: Write credits
See LICENSE