API для HyNexus CLAN-WAR https://hynexus.fun
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1772532228,
"app": {
"id": 1665415,
"name": "Hytale",
"steam_id": 9000061,
"url": "hytale"
},
"color": 0,
"connect": null,
"country": "RU",
"domain": null,
"game": 9000061,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11182163,
"ip": null,
"language": "ru",
"last_update": 1775577654,
"map": null,
"maxplayers": 100,
"name": "HyNexus CLAN-WAR https://hynexus.fun",
"numplayers": 0,
"official": null,
"points": 0,
"port": null,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": null,
"request": null,
"secured": false,
"status": false,
"steam_id": null,
"version": null,
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Кемерово",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1775577654,
"last_online": 1774692024,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": true,
"position_game": 84,
"wipe_period": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11182163");
$data = json_decode($json, true);
var_dump($data);