Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5883594
json
{
"response": {
"id": 5883594,
"ip": "104.194.11.237",
"port": 25609,
"query": 25609,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "Welcome to the Caliphate! A serious roleplay server. Please reach out to our admins on discord if you have any questions",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1744033086,
"score": 0,
"last_online": 1746990630,
"icon": null,
"name": "ZUG",
"connect": "104.194.11.237:25609",
"request": "104.194.11.237:25609",
"map": "YakamaStatePark;Greenport;Const",
"gamemode": "Project Zomboid",
"version": "41.78.16",
"numplayers": 11,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 69,
"add_date": 1725792517,
"last_update": 1746990630,
"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/5883594");
$data = json_decode($json, true);
var_dump($data);