Skip to main content

The official python wrapper for the Hyrule Compendium API

Project description

pyrule compendium

The official python API wrapper for the Hyrule Compendium API.

Installation

pip3 install pyrule-compendium

Usage

Read code comments for detailed documentation.

from pyrule_compendium import compendium

print(compendium().get_all()) # get all entries
print(compendium().get_entry("silver_lynel")) # get a specific entry with it's name
print(compendium().get_entry(1)) # get a specific entry with it's ID
print(compendium().get_category("monsters")) # get all entries in a category
compendium().download_entry_image("silver_lynel", "silver_lynel.png") # download entry image

Notes

  • If a key's value is None, it means that the key is marked as "unknown" in the compendium.
  • The response schema of creatures is different from the others, as it has two sub categories: food and non_food

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

pyrule-compendium-2.2.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrule_compendium-2.2.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pyrule-compendium-2.2.2.tar.gz.

File metadata

  • Download URL: pyrule-compendium-2.2.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pyrule-compendium-2.2.2.tar.gz
Algorithm Hash digest
SHA256 bf50c150d3d8da4b066c7ad643d15239eabb66f8463e9f6f349a0cac0ee14039
MD5 0fe25e4220c565198411b2d5961b2661
BLAKE2b-256 5bfb10eaf6b5f98fa5ef812e2bad608a89acaeb239035c92a77454265f69d72f

See more details on using hashes here.

File details

Details for the file pyrule_compendium-2.2.2-py3-none-any.whl.

File metadata

  • Download URL: pyrule_compendium-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pyrule_compendium-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d0557a8dc5427457f2b35dd67b869e2a02413e8425f2a21713d448ce37bba2a
MD5 e88bbc31b5f578f8b0de7944e3e2ff4d
BLAKE2b-256 bc58d094b0e654deb4f32de7ea22b8f8dad57dd27467ee3b7ac5f30d69af2ac9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page