Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/640965
json
{
"response": {
"id": 640965,
"ip": "24.152.37.250",
"port": 16261,
"query": 16261,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "BR FUNDACAO Z \\n XP1.5 \\n PVP/PVE \\n roupas especiais \\n comercio ativo 24hrs \\n missões com npcs e bandidos",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1745924849,
"score": 1,
"last_online": 1746625232,
"icon": null,
"name": "[BR]Fundacao Z 24/7",
"connect": "24.152.37.250:16261",
"request": "24.152.37.250:16261",
"map": "AZSpawn;MREX;Pitstop;Grapeseed;",
"gamemode": "Project Zomboid",
"version": "41.78.16",
"numplayers": 5,
"maxplayers": 31,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1669886090,
"last_update": 1746625232,
"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/640965");
$data = json_decode($json, true);
var_dump($data);