Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4785381
json
{
"response": {
"id": 4785381,
"ip": "191.96.92.80",
"port": 7777,
"query": 7777,
"color": 0,
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1755545211,
"score": 0,
"last_online": 1755703828,
"icon": null,
"name": "- Legend of RolePlay | №¤ГґТГТ аБЧН§ DaraRank",
"connect": "191.96.92.80:7777",
"request": "191.96.92.80:7777",
"map": "San Andreas",
"gamemode": "LEGEND : 0.2.0",
"version": "0.3.7-R2",
"numplayers": 302,
"maxplayers": 459,
"bots": 0,
"secured": false,
"private": false,
"country": "TH",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1718269615,
"last_update": 1755703828,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4785381");
$data = json_decode($json, true);
var_dump($data);