To ask user add the bot, get the available bot's steam_id:
GET https://gosu.ai/bot/api/get_bot/pubg
Response:
{
"status": 200,
"data": {
"bot_steam_id": "76561198393865146"
}
}
Give user a link to the bot:
steam://friends/add/{bot_steam_id}
http://steamcommunity.com/profiles/{bot_steam_id}
Check if the user added the bot:
GET https://gosu.ai/bot/api/check_bot/{user_steam_id}/pubg
Response (success):
{
"status": 200,
"data": {
"steam_id": {user_steam_id},
"has_bot": true
}
}
Response (no user => no bot added)
{
"status": 404
}