Skip to main content

An asynchronous osu API wrapper written in python

Project description

oshi

An asynchronous osu API wrapper made in python

Example(s)

import oshi
import asyncio


async def main() -> None:
   auth = oshi.Authentication(CLIENT_ID, "CLIENT_SECRET")

   async with oshi.Client(auth) as client:
      map = await client.get_beatmap(id=1222063)
      print(map.url)

asyncio.run(main())

Development

For developers If you plan on contributing please open an issue beforehand

Contributors

  • an-dyy - creator and maintainer

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

oshi-0.1.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

oshi-0.1.0-py3-none-any.whl (7.4 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