Quick Start
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can generate an API key from the /dev command in private with @FeaturesBugsBot at any time.
Make your first request
To make your first request, send an authenticated request to the chat_id endpoint.
Use your key to collect informations.
POST https://api.botsofgamer.top/FEBB/getdata.php?key
Collect informations.
Request Body
Name
Type
Description
key*
string
The key to access the data
chat_id*
string
The id of the chat where the feature/bug has been sent
id*
string
The id of the feature/bug
stars
string
A "yes" to confirm that you only want to know the stars and not the other infos
{
"ok":true,
"result":
{
"user_id":123456789,
"chat_id":-100123456789,
"text":"TEXT OF THE FEATURE/BUG",
"type":"feature",
"rating_stars":null
},
"time":1662845972
}{
"ok":false,
"error":"API key not found",
"time":1662844480
}Take a look at how you might call this method using our official libraries, or via curl:
curl https://api.myapi.com/v1/pet
-u YOUR_API_KEY:
-d chat_id='-100123456789'
-d id='ID of the feature/bug' // require the myapi module and set it up with your API key
const myapi = require('myapi')(YOUR_API_KEY);
const newPet = away myapi.pet.create({
chat_id: '-100123456789',
id: 'ID of the feature/bug'
})// Set your API key before making the request
myapi.api_key = YOUR_API_KEY
myapi.Pet.create(
chat_id= '-100123456789',
id= 'ID of the feature/bug'
)Last updated