Python Package for the Hyrule Compendium API
This package comes with a few functions to help work with the Hyrule Compendium API and get all the data you want in a jiffy!
Recommendation
It's recommended that you read the API documentation before getting started.
Installation
pip install Hyrule-Compendium
Docs
categoryList()
Use
Print out the list of valid categories in the API.
Parameters
None
Example
Call:
list_of_categories = categoryList()
print(list_of_categories)
Output:
["creatures", "equipment", "materials", "monsters", "treasure"]
getCategory(categoryName)
Use
Gets all the JSON data from a valid category in the form of a python dictionary.
Parameters
- categoryName [type: string] - valid name of the category you want to fetch data from
Raises
- ValueError - if
categoryNameis not valid
Example
Call:
from pprint import pprint
pprint(getCategory("monsters"))
getEntry(entryName)
Use
Fetches data from a specific entry in the API.
Parameters
- entryName [type: string] - valid name of the entry you want to fetch data from
Raises
- ValueError - if
entryNameis not valid
Example
Call:
from pprint import pprint
pprint(getEntry("silver lynel"))
Output:
{'category': 'monsters',
'description': 'Silver Lynels are not to be trifled with. They have been '
"influenced by Ganon's fiendish magic, so they are the "
'strongest among the Lynel species, surpassing even the '
'strength of those with white manes. The term "silver" denotes '
'not only their color but also their rarity. The purple '
'stripes help them to stand out even more.',
'drops': ['lynel horn',
'lynel hoof',
'lynel guts',
'topaz',
'ruby',
'sapphire',
'diamond',
'star fragment'],
'id': 124,
'name': 'silver lynel'}
getAllData()
Use
Fetches all the data in the Hyrule Compendium API.
Parameters
None
Example
pprint(getAllData())
Metadata
Release files for HyruleCompendium 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| HyruleCompendium-0.0.3.tar.gz | 2.9 kB | Without provenance | Details for HyruleCompendium-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| HyruleCompendium-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for HyruleCompendium-0.0.3-py3-none-any.whl |
Total release size: 6.5 kB
Release files / HyruleCompendium-0.0.3.tar.gz
| Download URL | HyruleCompendium-0.0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1406e9f456c073992e3340440efffa28651f41e3625f61448d6ef8a32b53a1fc
|
|
BLAKE2b-256 checksum How to use checksums |
06e9389f75e56d9ec6fe865c2f6089a3da7161e4ff1c04c3f5f893606cc82337
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
|
Release files / HyruleCompendium-0.0.3-py3-none-any.whl
| Download URL | HyruleCompendium-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8385fc1cb1bb59aa53d3c80857f24fef1c6fb0e1782fe89fa4be233619c0f0e6
|
|
BLAKE2b-256 checksum How to use checksums |
1ef56a9a21428792477c4424ae62d89009ef3c753527e3597720082ca599e61d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
|
Security for HyruleCompendium 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.