Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6293398
json
{
"response": {
"id": 6293398,
"ip": "46.174.52.144",
"port": 7777,
"query": 7777,
"color": 0,
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1755074871,
"score": 0,
"last_online": 1755763819,
"icon": null,
"name": "« ВВОДИ /ADM И ПОЛУЧАЙ АДМИНКУ »",
"connect": "46.174.52.144:7777",
"request": "46.174.52.144:7777",
"map": "San Andreas",
"gamemode": "« INFERNO-SAMP »",
"version": "0.3.7-R2",
"numplayers": 573,
"maxplayers": 1000,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 85,
"add_date": 1729565426,
"last_update": 1755763819,
"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/6293398");
$data = json_decode($json, true);
var_dump($data);