The official python wrapper for the Hyrule Compendium API
Project description
The official python wrapper for the Hyrule Compendium API, forked from the unnoficial [shaunikm/Hyrule-Compendium-python-client](shaunikm/Hyrule-Compendium-python-client).
It's recommended that you read the API documentation before getting started.
Installation
pip3 install git+https://github.com/gadhagod/pyrule-compendium
PyPi package coming soon.
Docs
All functions are attributes of class compendium
.
getCategory(category)
Get all entries in a category.
Parameters
- category [type: string] - name of category
getEntry(entry)
Get an entry. Parameters
- entry [type: string, int] - name or ID of entry
getAll()
Get all data.
Parameters
None
Hosting locally
You can configure the URL to make requests to by setting the compendium
class parameter url
.
See here to host the server locally.
Shoutouts
Thanks to @shaunikm for the original code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pyrule_compendium-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 530e9e1660cd4810395316d6fe779c79ca5b8643eeef52aacbce0c8e8d9b9519 |
|
MD5 | 9a130affb731f2bc26c2e474e4a780fb |
|
BLAKE2b-256 | 4ad0119c600a5430416cdc0600fe957f2dc74301a695d9ac63fe8ffe41ddbcf8 |