https://github.com/zakru/wynn.py
A Python wrapper for the Wynncraft public API
https://github.com/zakru/wynn.py
minecraft python-wrapper python3 wynncraft wynncraftapi
Last synced: 2 months ago
JSON representation
A Python wrapper for the Wynncraft public API
- Host: GitHub
- URL: https://github.com/zakru/wynn.py
- Owner: Zakru
- License: mit
- Created: 2019-11-13T17:37:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T17:23:56.000Z (about 4 years ago)
- Last Synced: 2025-12-15T18:27:23.658Z (6 months ago)
- Topics: minecraft, python-wrapper, python3, wynncraft, wynncraftapi
- Language: Python
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wynn.py
[](https://wynnpy.readthedocs.io/en/latest/?badge=latest)
[](https://pypi.org/project/wynn.py/)
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
```python
>>> player = wynn.player.get_player('playerName')
```
Then there are two ways to access data inside
```python
>>> 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.