API Endpoints

get
Get Votes

https://api.discord-botlist.eu/votes?=:BotID
Request
Response
Request
Path Parameters
BotID
required
number
ID of the Bot
Response
200: OK
Serverstats posted
{"votes":":votes", "botid":":BotID", "status":"200: Ok"}
404: Not Found
{"err":"Bot not found", "status":"404: Not found"}

get
Get Servers

https://api.discord-botlist.eu/server?=:BotID
Request
Response
Request
Path Parameters
BotID
required
number
ID of the Bot
Response
200: OK
{"server":":server", "botid":":BotID", "status":"200: Ok"}
404: Not Found
{"err":"Bot not found", "status":"404: Not found"}

get
Get shards

https://api.discord-botlist.eu/shards?=:BotID
Request
Response
Request
Path Parameters
BotID
required
number
ID of the Bot
Response
200: OK
{"shards":":shards", "botid":":BotID", "status":"200: Ok"}
404: Not Found
{"err":"Bot not found", "status":"404: Not found"}

get
Get Owner

https://api.discord-botlist.eu/owner?=:BotID
Request
Response
Request
Path Parameters
BotID
required
number
ID of the Bot
Response
200: OK
{"Owner":":owner_ID", "botid":":BotID", "status":"200: Ok"}
404: Not Found
{"err":"Bot not found", "status":"404: Not found"}

post
Login to the API

http://dbl.v-server.io:34/
Request
Response
Request
Headers
token
required
string
API Token (token: "h7s8dfh8sdgfs9f9dfdsfndf...")
bot
required
string
Botid (bot: "128918298271897")
type
required
string
The type is "login" (type: "login")
Response
200: OK
Ill ad something in here soon lol

So your header should look like this:{"type":"login","bot":"12345678910","token":"fj380jrfe89fj4308jf0wj8"}

post
Post data to the API

http://dbl.v-server.io:34/
Request
Response
Request
Headers
type
required
string
The Type here is "postData"
data
required
object
This contains all data that will be submitted to the API
server_count
required
string
Server count
shard_count
required
string
Shard count
botid
required
string
The Id of the Bot that should be updated
Response
200: OK
Ill add something here too soon lol

So your header should look like this: {"type":"postData", "data":{"server_count": "823", "shard_count":"2", "botid":"897439857384957398457"}}