{"id":24437648,"url":"https://github.com/khazhyk/osuapi","last_synced_at":"2025-04-12T16:43:05.825Z","repository":{"id":45460683,"uuid":"55182721","full_name":"khazhyk/osuapi","owner":"khazhyk","description":"Simple osu api wrapper that I can use with both requests and aiohttp","archived":false,"fork":false,"pushed_at":"2023-06-14T17:22:43.000Z","size":118,"stargazers_count":16,"open_issues_count":4,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:16:11.073Z","etag":null,"topics":["osu","osu-api","python3"],"latest_commit_sha":null,"homepage":"http://osuapi.readthedocs.io/en/latest/index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khazhyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-31T21:01:53.000Z","updated_at":"2024-05-12T15:36:00.000Z","dependencies_parsed_at":"2024-06-21T20:20:54.659Z","dependency_job_id":"f562f5f0-583c-43d1-a120-9c34930579bf","html_url":"https://github.com/khazhyk/osuapi","commit_stats":{"total_commits":162,"total_committers":8,"mean_commits":20.25,"dds":0.1049382716049383,"last_synced_commit":"6286e4c61cc9510f791256e8a2598bbee13cda7f"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khazhyk%2Fosuapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khazhyk%2Fosuapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khazhyk%2Fosuapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khazhyk%2Fosuapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khazhyk","download_url":"https://codeload.github.com/khazhyk/osuapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248599305,"owners_count":21131258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["osu","osu-api","python3"],"created_at":"2025-01-20T18:17:21.588Z","updated_at":"2025-04-12T16:43:05.795Z","avatar_url":"https://github.com/khazhyk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"osuapi\n======\n[![pip](https://img.shields.io/pypi/v/osuapi.svg)](https://pypi.python.org/pypi/osuapi/)\n[![Documentation Status](http://readthedocs.org/projects/osuapi/badge/?version=latest)](http://osuapi.readthedocs.io/en/latest/?badge=latest)\n\nWelcome to osssss!\n\nosuapi a python wrapper for the osu! api.\n\nIt's \"agnostic\" of the requesting backend. Uses \"connectors\" to handle making requests and retrieving json.\nComes with `aiohttp` and `requests` implementations.\n\nUsing with aiohttp\n```py\nfrom osuapi import OsuApi, AHConnector\nimport aiohttp\nimport asyncio\n\nasync def get_peppy_user_id():\n\tapi = OsuApi(\"mykey\", connector=AHConnector())\n\tresults = await api.get_user(\"peppy\")\n\treturn results[0].user_id\n\nresults = asyncio.get_event_loop().run_until_complete(get_peppy_user_id())\n```\n\nOr requests\n```py\nfrom osuapi import OsuApi, ReqConnector\nimport requests\n\napi = OsuApi(\"mykey\", connector=ReqConnector())\nresults = api.get_user(\"peppy\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhazhyk%2Fosuapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhazhyk%2Fosuapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhazhyk%2Fosuapi/lists"}