Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/222876
json
{
"response": {
"id": 222876,
"ip": "145.239.236.193",
"port": 27080,
"query": 27080,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 9000042,
"owner": null,
"boosts": 1,
"last_offline": 1742556879,
"score": null,
"last_online": 1744053889,
"icon": null,
"name": "Play4Skill.pl ★ Only Mirage ★ 128TR ★ Darmowy Vip 9-22 ★ Darmowy Premium 22 - 9 ★ SKINY ★ Unikat ★",
"connect": "145.239.236.193:27080",
"request": "145.239.236.193:27080",
"map": "de_mirage",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1582979117,
"last_update": 1744053889,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 1629104,
"steam_id": 9000042,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/222876");
$data = json_decode($json, true);
var_dump($data);