Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/208237json
{
"response": {
"steam_id": null,
"domain": null,
"id": 208237,
"ip": "110.185.170.188",
"port": 27030,
"query": 27030,
"color": 0,
"city": null,
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1763024900,
"score": null,
"last_online": 1764124832,
"icon": null,
"name": "【175】贵州007 【千兆机房QQ559484】",
"connect": "110.185.170.188:27030",
"request": "110.185.170.188:27030",
"map": "de_dust2 (沙漠2)",
"gamemode": "【175PT混战服】",
"version": "1.1.2.6/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1582845188,
"last_update": 1764124832,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 7608,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/208237");
$data = json_decode($json, true);
var_dump($data);