Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/443445
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 11959,
"world_seed": 1337,
"world_size": 6000,
"id": 443445,
"ip": "208.52.152.2",
"port": 28014,
"query": 28015,
"color": 0,
"description": "\nFrag Mod is a team-based PvP mode with progression in weapons, armour and vehicles.\r\n\r\nThree teams of 8 fight for control of a destructable city. Earn XP and $ for playing the objective, getting kills, killstreaks, bounties, vehicle kills, and more! Unlock weapons, armour, vehicles, and explosives to crush your enemies in glorious combat! Progression wipes every 4 rounds, or roughly every hour.\r\n\r\n\r\n-AimTrain\r\n-Duels\r\n-Skin Wagering\r\n-Combat Arenas",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754592941,
"score": null,
"last_online": 1755692152,
"icon": null,
"name": "Tommygun's Frag | US | BedWars | Aim Train | Scrim | Gun Game",
"connect": "208.52.152.2:28014",
"request": "208.52.152.2:28015",
"map": "battlefieldminigameuknrtgnoob",
"gamemode": "Survival",
"version": "2594",
"numplayers": 3,
"maxplayers": 275,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779661,
"last_update": 1755692152,
"banned": false,
"wipe": 1755259976,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/443445");
$data = json_decode($json, true);
var_dump($data);