Skip to main content

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


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-1.0.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

pyrule_compendium-1.0.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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