Intro

The url is what ever your heroku app name is, for example:

https://vast-tundra-93768.herokuapp.com

Endpoints:

get
Server Stats

https://example.com/servers/:id.json
Returns info about server
Request
Response
Path Parameters
id
required
number
Your server's id
200: OK
{
id: "553408019120128020",
name: "Tech Central",
members: 79,
online: 34,
channels: 29,
createdAt: "2019-03-08T02:45:53.582Z",
createdTimestamp: 1552013153582,
emojis: 23,
iconURL: "https://cdn.discordapp.com/icons/553408019120128020/2bdca74734ed8aafaafb187a6ac01897.jpg",
large: false,
owner: {
displayName: "andrejarrell",
nickname: null,
presence: {
status: "online",
game: null,
},
avatarURL: "https://cdn.discordapp.com/avatars/355518701056950283/04715f1dbc611a21689858db81bc5697.png?size=2048",
},
region: "us-east",
roles: 16,
verified: false,
}

To reduce processing power for each request caching has been placed in intervals of 5 minutes each

get
Client Stats

https://example.com/client/stats.json
Request
Response
Path Parameters
optional
string
200: OK
{
users: 107,
servers: 1,
channels: 29,
ping: 15,
}