Zakru / wynn.py

A Python wrapper for the Wynncraft public API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wynn.py

Documentation Status PyPI

A Python wrapper for the Wynncraft public API

Basic usage

API wrappers are found under the wynn package. To fetch a player's data, for example, you can use

>>> player = wynn.player.get_player('playerName')

Then there are two ways to access data inside

>>> player.username
'playerName'
>>> player['username']
'playerName'

For documentation of the objects returned, see the Wynncraft API docs: https://docs.wynncraft.com/

Relevant sections are also linked in this wrapper's documentation.

About

A Python wrapper for the Wynncraft public API

License:MIT License


Languages

Language:Python 100.0%