Metadata-Version: 2.1
Name: aiovotifier
Version: 0.1.5
Summary: An asynchronous MInecraft server votifier client in Python
License: MIT
Author: Milo Weinberg
Author-email: iapetus011@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# Aio-Votifier ![Code Quality](https://www.codefactor.io/repository/github/iapetus-11/aio-votifier/badge) ![PYPI Version](https://img.shields.io/pypi/v/aiovotifier.svg) ![PYPI Downloads](https://img.shields.io/pypi/dw/aiovotifier?color=0FAE6E) ![Views](https://api.ghprofile.me/view?username=iapetus-11.aio-votifier&color=0FAE6E&label=views&style=flat)
*An asynchronous MInecraft server votifier client in Python*

## Example Usage:
```py
from aiovotifier import NuVotifierClient
import asyncio

async def main():
    async with NuVotifierClient("127.0.0.1", 8192, "token") as client:
        await client.vote("Iapetus11")

asyncio.run(main())
```
or
```py
from aiovotifier import NuVotifierClient
import asyncio

async def main():
    client = NuVotifierClient("127.0.0.1", 8192, "token")
    await client.connect()

    await client.vote("Iapetus11")

    await client.close()

asyncio.run(main())
```

