A Python wrapper for the Wynncraft API
Project description
Corkus.py ⚙️
Asynchronous modern, feature-rich and easy to use Python wrapper for Public Wynncraft API.
Key Features
- Asynchronous API using
async
andawait
- Easy to use with an object oriented design and
fetch
functions - ≈ 80% coverage of the Wynncraft API as of now
Responses cachingSoonProper rate limit handlingSoon
Missing Features
- Recipe Endpoint
- Item Database Endpoint
- Ingredients Search
- Proper rate limit handling
- Responses caching
- Error handling
Installation
Python 3.8+ or higher is required
pip install corkus.py
Quick Example
import asyncio
from corkus import Corkus
async def player_stats():
corkus = Corkus()
player = await corkus.player.get("Salted")
print(player.statistics.chests_found) # => 219
await corkus.close()
asyncio.get_event_loop().run_until_complete(player_stats())
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
corkus.py-0.1.0.tar.gz
(3.1 kB
view hashes)