Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/19953
json
{
"response": {
"id": 19953,
"ip": "46.174.54.192",
"port": 7777,
"query": 7777,
"color": 0,
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1755654993,
"score": null,
"last_online": 1755694320,
"icon": null,
"name": "ED:RP New IP: 185.169.134.100:7777",
"connect": "46.174.54.192:7777",
"request": "46.174.54.192:7777",
"map": "LS/LV",
"gamemode": "« ED:RP »",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 500,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1511603758,
"last_update": 1755694320,
"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/19953");
$data = json_decode($json, true);
var_dump($data);