Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7920576
json
{
"response": {
"id": 7920576,
"ip": "176.118.33.3",
"port": 28010,
"query": 28010,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "\nMap Wipe - Monthly\r\nBPs Wipe - No BP Wipe\r\n\r\nSkip the Queue | Visit Shop.Rustopia.gg\r\n\r\nJoin our community to get updates, support, giveaways, and more at Discord.gg/Rustopia\r\n\r\nOur server rules can be found at Rustopia.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1745960341,
"score": 0,
"last_online": 1746091860,
"icon": null,
"name": "Rustopia.gg - EU Large",
"connect": "176.118.33.3:28015",
"request": "176.118.33.3:28010",
"map": "Rustopia Mapping",
"gamemode": "Rust",
"version": "2585",
"numplayers": 89,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 1,
"points": 72,
"add_date": 1740791913,
"last_update": 1746091860,
"banned": false,
"wipe": 1743702933,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": 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/7920576");
$data = json_decode($json, true);
var_dump($data);