PokéAPI Clients
PokéAPI Clients is a set of generated API clients for Poké API from an OpenAPI v3 specification. Credit goes to Niccolò Maltoni for building the baseline version of PokéAPI specification.
The API clients are generated using OpenAPI Generator.
Published packages
Language | Package | Status | Documentation |
---|---|---|---|
JavaScript | pokeapi-client | README | |
Python | pokeapiclient | README | |
Ruby | pokeapi_client | README |
Version matrix
Note: Version 0.9.0 returns response as String since the specification does not yet include any response schema.
PokéAPI Clients Version | PokéAPI OpenAPI Spec Version | OpenAPI Version | OpenAPI Generator Version |
---|---|---|---|
1.1.0 | 20220523 | 3.0.0 | 7.6.0 |
1.0.0 | 20220523 | 3.0.0 | 7.4.0 |
0.10.0 | 20220523 | 3.0.0 | 6.0.1 |
0.9.1 | 20220523 | 3.0.0 | 5.4.0 |
Installation
You can either use the generated clients from clients/<lang>/generated/
directory.
Or you can use the published packages like below:
Install JavaScript client:
npm install pokeapi-client
Install Python client:
pip install pokeapiclient
Install Ruby client:
gem install pokeapi_client