Skip to content

Commit 9122f4b

Browse files
committed
getTop1000.php
1 parent 0f94e07 commit 9122f4b

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
- [uploadGJMessage20](/endpoints/uploadGJMessage20.md)
6565
- Miscellaneous
6666
- [getAccountURL](/endpoints/getAccountURL.md)
67+
- [getTop1000](/endpoints/getTop1000.md)
6768
- [getGJSongInfo](/endpoints/getGJSongInfo.md)
6869
- [getGJTopArtists](/endpoints/getGJTopArtists.md)
6970
- [getSaveData](/endpoints/getSaveData.md)

docs/endpoints/getTop1000.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# getTop1000.php
2+
3+
[getTop1000.php](http://boomlings.com/database/getTop1000.php) is one of the very few endpoints found on the servers that can be accessed via a [GET request](https://www.w3schools.com/tags/ref_httpmethods.asp). The purpose of this endpoint is to gather the top 1000 star grinders to be used on the star leaderboards.
4+
5+
## Parameters
6+
7+
This endpoint does not require any parameters
8+
9+
## Example
10+
11+
```py
12+
import requests
13+
14+
req = requests.get("http://boomlings.com/database/getTop1000.php")
15+
print(req.text)
16+
17+
```
18+
19+
## Response Structure
20+
21+
The structure for this endpoint is fairly simple - Using only a single key with 3 pieces of data assigned to the key with a `,` to seperate them. Each player is seperated by a newline `(<br>)` making it easy to parse.
22+
23+
Below is a small snippet of the response
24+
25+
1: Smiffy777, 167677, 1413859
26+
2: Gormuck, 161467, 1775477
27+
3: Steekmen, 158704, 4310927
28+
4: Superchat, 157872, 1098021
29+
5: Cool, 157561, 4825
30+
31+
The Values for each segment are:
32+
33+
| |
34+
|:|
35+
|`<Leaderboard Position>: <Player UserName>, <Player Star Count>, <Player AccountID>`|

0 commit comments

Comments
 (0)