-
-
Notifications
You must be signed in to change notification settings - Fork 104
APIv2 Tutorial
Sebastian Krajewski edited this page Oct 29, 2024
·
2 revisions
If you want to use Scoreboard functionality, you need to have an osu!api v2 connection. Here's how to do it:
If you don't have supporter, you won't have access to country and friends leaderboards. So path for apiv2 is a bit easier.
-
Open https://osu.ppy.sh/home/account/edit and scroll down until you see OAuth section:
-
Click "New OAuth Application"
-
Give a name to your application.
-
Click Register application.
-
Your new application should appear in "own clients" subsection. Click on the name.
-
Open danser settings and copy-paste client id and Client secret respectively:
-
Select "Client credentials" as Auth type.
-
Click "Authorize"
-
If you get "Successful!" you're ready to go!
It's a bit more complicated, but pay off is worth it!
- Open Danser Settings
- Select "Authorization code" as Auth type.
- Click "Copy callback URL". It will create a link you will need shortly.
- Open https://osu.ppy.sh/home/account/edit and scroll down until you see OAuth section:
- Click "New OAuth Application"
- Give a name to your application.
- Paste the copied link to Application Callback URLs section.
- Click Register application.
- Your new application should appear in "own clients" subsection. Click on the name.
- Open danser settings and copy-paste client id and Client secret respectively:
- Click "Authorize"
- It will open the osu! page that asks you to Authorize the client. Click "Authorise".
- If you get "Successful!" you're ready to go! You can close the page and return to danser.