Metadata-Version: 2.1
Name: osu.py
Version: 0.1.2
Summary: Easy to use API wrapper for osu!api written in Python.
Home-page: https://github.com/Sheepposu/osu.py
Author: Sheepposu
Author-email: osuapi.py@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/Sheepposu/osu.py/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

osu.py
-------

Easy to use API wrapper for osu!api written in Python.

# Installation
Linux/macOS
```commandline
python3 -m pip install -U osu.py
```
Windows
```commandline
py -3 -m pip install -U osu.py
```

# Example
```Python
from osu import Client, AuthHandler


client_id = 0
client_secret = "***"
redirect_uri = "http://127.0.0.1:8080"

auth = AuthHandler(client_id, client_secret, redirect_uri)
auth.get_auth_token()

client = Client(auth)

user_id = 14895608
mode = 'osu'
user = client.get_user(user_id, mode)
print(user.username)
```


