Skip to main content

An asynchronous MInecraft server votifier client in Python

Project description

Aio-Votifier Code Quality PYPI Version PYPI Downloads Views

An asynchronous MInecraft server votifier client in Python

Example Usage:

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

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())

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

aiovotifier-0.1.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

aiovotifier-0.1.3-py3-none-any.whl (3.7 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