A Python wrapper for PokéAPI (https://pokeapi.co)
Project description
Pokepy
A python wrapper for PokéAPI. (former pykemon)
Maintainer: Kronopt
Installation
Nice and simple:
$ pip install pokepy
Usage
Even simpler:
>>> import pokepy
>>> client = pokepy.V2Client()
>>> client.get_pokemon(14)
[<Pokemon - Kakuna>]
Documentation
For more information, check the documentation at https://pokeapi.github.io/pokepy
Features
- Generate Python objects from PokéAPI resources
- Cache
- Human-friendly API
History
0.5.2 (2019-03-01)
- Fixed bug that caused pokemon_encounters subresource to not be detected in LocationAreaResource (thanks to jachymb)
0.5.1 (2019-02-16)
- New V2Client cache-related methods:
- cache_info
- cache_clear
- cache_location
0.5.0 (2019-01-19)
- Pykemon is now Pokepy!
- Cache (disk- and memory-based)
0.4.0 (2018-10-11)
- Removed code from pre-beckett versions
- Removed V1 API support, as it is now deprecated
- Added some tweaks to the beckett package
0.3.0 (2017-10-19)
- V2 support added
- Added some missing V1 resources
- Removed files related to API 0.1
0.2.0 (2016-06-11)
- Beckett API Client framework added
0.1.2 (2014-1-3)
- Sprite attribute added to Pokemon class
0.1.1 (2013-12-24)
- Description attribute added to Pokemon class
0.1.0 (2013-12-23)
- First release on PyPI
- All PokéAPI resources fully supported and represented in an object-oriented style
- Easy-to-use API: just one method!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pokepy-0.5.2.tar.gz
(12.3 kB
view hashes)
Built Distribution
pokepy-0.5.2-py2.py3-none-any.whl
(12.4 kB
view hashes)
Close
Hashes for pokepy-0.5.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3229d9d04220ded97b20d31be0fab83ccc3abc19aaf33ab2c309eaee21195732 |
|
MD5 | 18a3d8c45564837607d1da6826c09a8d |
|
BLAKE2b-256 | 6adfa6b24dddf23e6424ffebc33efdd5de2c5f3591ac72e7f8fdbd4efba99622 |