-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Awbugl
committed
Oct 22, 2022
1 parent
5f3ecd5
commit e4105f4
Showing
21 changed files
with
400 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## assets/preview | ||
|
||
> Note: It is not recommended to use this API frequently. | ||
| arguments | description | optional | | ||
|:-----------|:-------------------------------------|-------------------------------------------------| | ||
| songname | any song name for fuzzy querying | true when songid is not null, otherwise false | | ||
| songid | sid in Arcaea songlist | true when songname is not null, otherwise false | | ||
| difficulty | accept format are 3 or byn or beyond | true | | ||
|
||
###### Tag | ||
|
||
* Enable Cors | ||
|
||
#### Example | ||
|
||
+ `{apiurl}/botarcapi/assets/preview?songid=ifi` | ||
|
||
###### Content-Type | ||
|
||
``` | ||
image/png | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## data/challenge | ||
|
||
> Note: It is designed for the release version of AUA, and not available for the release version. | ||
| arguments | description | optional | | ||
|:----------|:--------------------|-------------------------| | ||
| path | request arcapi path | false | | ||
| body | request body | true when body is empty | | ||
| time | request timestamp | true | | ||
|
||
#### Allowed pathes | ||
|
||
```json5 | ||
[ | ||
"auth/login", | ||
"user", | ||
"user/me", | ||
"friend/me/delete", | ||
"friend/me/add", | ||
"score/song/friend", | ||
"purchase/me/stamina/fragment", | ||
"world/map/me" | ||
] | ||
``` | ||
|
||
###### Tag | ||
|
||
* Need Token | ||
|
||
#### Example | ||
|
||
+ `{apiurl}/botarcapi/data/challenge?path=auth/login` | ||
|
||
##### Return data (Edited for readability) | ||
|
||
```json5 | ||
{ | ||
"status": 0, | ||
"content": "JfdDAIQBAAAkdLOHw7PyRfWyhkJvH1Xzfevm7quQMwOk5Lc99fD1vgesJ8uf5ZJgPfgtYlYGDu1FLk31AaNAYfGocKoRMMSAlqDc4y/aZxXCn4cGjnJ7ovR9rkCQG8W1sJ9cHuK4CDo=" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## data/density | ||
|
||
> Note: It is a large data set, so it is not recommended to use this API frequently. | ||
| arguments | description | optional | | ||
|:-----------|:-------------------------------------|---------------------------------------------------------| | ||
| songname | any song name for fuzzy querying | true when songid or file is not null, otherwise false | | ||
| songid | sid in Arcaea songlist | true when songname or file is not null, otherwise false | | ||
| difficulty | accept format are 3 or byn or beyond | true | | ||
|
||
###### Tag | ||
|
||
* Enable Cors | ||
|
||
#### Example | ||
|
||
+ `{apiurl}/botarcapi/data/density?songid=ifi&difficulty=2` | ||
|
||
##### Return data (Edited for readability) | ||
|
||
```json5 | ||
{ | ||
"status": 0, | ||
"content": [ | ||
[ | ||
1000, // fscore, (score/10000) | ||
115, // fpotential (potential/10) | ||
1 // count | ||
], | ||
[ | ||
1000, | ||
116, | ||
1 | ||
], | ||
[ | ||
1000, | ||
117, | ||
1 | ||
] | ||
] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.