Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6427150
json
{
"response": {
"id": 6427150,
"ip": "203.135.101.236",
"port": 57197,
"query": 57197,
"color": 0,
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1760117690,
"score": 0,
"last_online": 1760104365,
"icon": null,
"name": "[CN]星雨-纯净经典#5-QQ群:978077088",
"connect": "203.135.101.236:57197",
"request": "203.135.101.236:57197",
"map": "nmo_tower_of_trials_v3_1",
"gamemode": "纯净经典",
"version": null,
"numplayers": 0,
"maxplayers": 9,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1730033482,
"last_update": 1760117690,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6427150");
$data = json_decode($json, true);
var_dump($data);