Skip to main content

A wrapper for the Wynncraft API.

Project description

wynncraft-python

A wrapper for the Wynncraft API, with local caching.

Install

Needs at least python 3.6

pip install wynncraft

Example

import wynncraft

# Get guild list
guilds = wynncraft.Guild.list()
print(guilds)

# Get guild list from cache.
# If it hasn't been cached, it will make a request.
for _ in range(100):
    guilds = wynncraft.cache.Guild.list()
    print(guilds)

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

wynncraft-0.1.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

wynncraft-0.1.0-py3-none-any.whl (7.4 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