Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7963864
json
{
"response": {
"id": 7963864,
"ip": "54.39.243.181",
"port": 27275,
"query": 27275,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "Kissin' Boys",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1745816736,
"score": 0,
"last_online": 1743741671,
"icon": null,
"name": "Peach Grabbers",
"connect": "54.39.243.181:27275",
"request": "54.39.243.181:27275",
"map": "vehicle_interior;MonmouthCounty",
"gamemode": "Project Zomboid",
"version": null,
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": false,
"private": true,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1740979752,
"last_update": 1745816736,
"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/7963864");
$data = json_decode($json, true);
var_dump($data);