macedo/phpokelist

getting data from pokeapi

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/macedo/phpokelist

1.0.0 2024-09-16 10:22 UTC

This package is auto-updated.

Last update: 2025-12-18 16:59:54 UTC


README

This package is meant to be used for anyone that wants to get a ready to use access to the PokéAPI data.

How to use this package

To set up a use, you create an object, like so:

$bulbasaur = new PHPokemon("bulbasaur");

By doing that you'll have now the data from the named pokémon directly from the PokéAPI.

$bulbasaur->getAbilities();

This line will return an array with the abilities names and their descriptions. Please note, an ability on a pokémon differs from its moves.

Disclaimer

This project is not yet completed, it'll be updated with time.