Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2616029
json
{
"response": {
"id": 2616029,
"ip": "93.99.7.86",
"port": 16911,
"query": 16911,
"color": 0,
"description": "Proudly Hosted by Czech Chillout, https://discord.gg/893DcgBgsJ",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1757772933,
"score": null,
"last_online": 1757800225,
"icon": null,
"name": "Utopia Coop",
"connect": "93.99.7.86:16911",
"request": "93.99.7.86:16911",
"map": "Kings County, PE;Prince County,",
"gamemode": "Project Zomboid",
"version": "41.78.16",
"numplayers": 3,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": true,
"country": "CZ",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1705779578,
"last_update": 1757800225,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": 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/2616029");
$data = json_decode($json, true);
var_dump($data);