- You need a few commands before using this API.
- You need
npm i -g swagger
for download a swagger cli. - Change the directory to
src
and Runnpm i
for download dependencies(And go to back directory to../
). - To using this API, type
swagger project start src
. - Your API Server will start in 0.0.0.0:10010
curl http://localhost:10010/user?id=<Discord User ID>
fetch('http://localhost:10010/user?id=<Discord User ID>').then(response => {
response.json().then(json => {
// do something
})
})
const response = fetch('http://localhost:10010/user?id=<Discord User ID>')
const json = await response.json()
// do something
- User Reputation [number]
- Where a user got banned from a server(and server owner) [String]
- Who banned a user [String]
- Probes (Image URL) [String]
- Why a user got ban (Reasons) [String]
- Username changes(not working) [Array<String>]
- Nickname changes(not working) [{Object|Array}<Array<String>>]
- Avatar changes(not working) [Array<String>]