Metadata-Version: 2.1
Name: op.py
Version: 1.0.0
Summary: A wrapper made for the osu! v2 API.
Home-page: https://github.com/waydealphax/oppy
Author: Wayde B
Author-email: wayde@alphaxdev.xyz
License: MIT
Description: # oppy (op.py)
        
        oppy is the wrapper for use on the osu! v2 api. 
        Version 1.0.0
        
        ![repo](https://img.shields.io/github/pipenv/locked/python-version/waydealphax/oppy)
        
        ## Installation
        
        To install please use pip to install oppy
        
        ```bash
        pip install oppy
        ```
        
        ## Usage - User Data
        
        ```python
        import oppy
        import asyncio
        client = oppy.Client()
        user = client.user_data
        async def main():
            data = await user.user(user="peppy", token="a long string") #makes the api request using oppy.Client.user_data.user()
            print(
            data.pp,
            data.id,
            data.username,
            data.global_rank,
            ) # returns the users raw pp, id, name and global rank
        asyncio.run(main())
        ```
        
        ## Usage - Beatmap Data | Lookup
        
        ```python
        import oppy
        import asyncio
        client = oppy.Client()
        beatmap = client.beatmap_data
        async def main():
            data = await beatmap.lookup(beatmap="big black", token="a long string") #makes the api request using oppy.Client.beatmap_data.lookup()
            print(
            data.id,
            data.artist,
            data.mapper,
            ) # returns the beatmap id
        asyncio.run(main())
        ```
        
        ## Usage - Token
        
        ```python
        import oppy
        import asyncio
        client = oppy.Client()
        tk = client.gen_token
        async def main():
            tkn = await tk.gen(client_secret="string", client_id=0) # makes request using oppy.Client.gen_token.gen()
            print(tkn)
        asyncio.run(main())
        ```
        
        ## Support
        Feel free to email me at `wayde@alphaxdev.xyz` or contact me on discord support server https://discord.gg/DAPgevH9EX
        
        
Keywords: osuapi,osu,osuapiv2
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
