Initial commit

This commit is contained in:
2021-06-10 13:45:24 +02:00
parent d95772627e
commit 51618d2dcc
33 changed files with 3423 additions and 126 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
// for api v1
$api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // osu! API v1 key, get one at https://osu.ppy.sh/p/api
// for api v2
$client_id = "1234"; // osu! API v2 client ID, register one at https://osu.ppy.sh/home/account/edit#new-oauth-application
$client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // v2 client secret, you will get one with registering a client ID
$callback_uri = "https://example.com/path/to/Unalike/OAuth/"; // the location where users will be redirected after logging in
// note that you will have to provide the same path when registering your client on the osu website!
// the comments are not needed for your live api_key.php file. the order of the lines are not important except for the very first line