Skip to main content

Happy Wheels API Wrapper

Project description

hwapi: Happy Wheels API Wrapper


Requirement: Python3.6+

pip(3) install git+
pip(3) install -r requirements.txt

Usage (async)

import asyncio
import hwapi

client = hwapi.client(useragent="test")

async def test():
    jim = await client.user(2)
    async for level in jim.levels("newest", "anytime"):
        print("Replays for Jim's level '{}':".format(
        async for replay in level.replays("completion_time"):
            print("    ID: {} - time: {}".format(, replay.completion_time))

    featured_levels = await client.featured_levels()
    print("There are {} featured levels.".format(len(featured_levels)))

    async for level in client.levels("newest", "anytime"):
        user_location = await
        user_joined = await
        print("{}'s author: {} location: {}, date joined: {}".format(,, user_location, user_joined))

loop = asyncio.get_event_loop()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hwapi, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size hwapi-0.1.2-py3-none-any.whl (5.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hwapi-0.1.2.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page