PHP code example of darovi / pokephp
1. Go to this page and download the library: Download darovi/pokephp library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
darovi / pokephp example snippets
$api = new PokePHP\PokeApi;
$response = $api->search(Filter::POKEMON_COLOR, 'red')->limit(5)->request();