Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7421881
json
{
"response": {
"id": 7421881,
"ip": "51.195.62.149",
"port": 27550,
"query": 27550,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "Building in progress",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1741405011,
"score": 0,
"last_online": 1743612052,
"icon": null,
"name": "Bandit County RP",
"connect": "51.195.62.149:27550",
"request": "51.195.62.149:27550",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.16",
"numplayers": 7,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 70,
"add_date": 1739202459,
"last_update": 1743612052,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7421881");
$data = json_decode($json, true);
var_dump($data);