Login with Discord





API Docs

Wrapper JavaScript


Maintainer: Toxic Dev
Package Name: paradiseapi.js
Link: paradiseapi.js


Wrapper Python


Maintainer: TheUndeadBowman
Package Name: paradiseapi.py
Link:
paradiseapi.py



Method POST


Domain: https://paradisebots.net
Endpoint: /api/v1/bot/:botid

Installation

npm install paradiseapi.js

Posting Server & Shard Count

You can post once every 5 minutes (Rate Limit)

Domain Parameters

botid | Your discord bot id (Required Parameter)

Headers

Content-Type: application/json
Authorization: Api Token (Required Parameter)

Body

Servers Count | server_count (Required Parameter)
Shards Count | shard_count

Response

[ Error ] 429 : [PBL] (429): Your are being ratelimited, 1 request per 5 mins.
[ Error ] 404 : [PBL] (404): Can't find server_count.
[ Error ] 404 : [PBL] (404): Authorization header not found.
[ Error ] 400 : [PBL] (400): server_count not integer.
[ Error ] 404 : [PBL] (404): Bot not found!
[ Error ] 400 : [PBL] (400): Incorrect authorization token.
[ Error ] 404 : [PBL] (404): Go generate auth token for your bot!
[ Error ] 400 : [PBL] (400): shard_count not integer.
[ Success ] 200 : [PBL] (200): Your Stats Has Been Posted.



Method GET


Domain: https://paradisebots.net
Endpoint: /api/v1/bots/:botid

Installation

npm install paradiseapi.js

Domain Parameters

botid | Your discord bot id (Required Parameter)

Headers

Content-Type: application/json

Response

[ Error ] 404 : [PBL] (404): Bot not found!