HumanitZ
API для [RU] Hard2Survive#TEST [PVE] discord.gg/wEwEY45NSd vk.com/hard2survive
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9964306json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9964306,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Khimki",
"description": null,
"game": 1766060,
"owner": 133724,
"boosts": 1,
"last_offline": 1767247259,
"score": 5,
"last_online": 1766340620,
"icon": null,
"name": "[RU] Hard2Survive#TEST [PVE] discord.gg/wEwEY45NSd vk.com/hard2survive",
"connect": null,
"request": null,
"map": "Main Map",
"gamemode": "HumanitZ",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1754381238,
"last_update": 1767247259,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 264,
"language": "ru",
"parked": true,
"app": {
"id": 1531516,
"steam_id": 1766060,
"name": "HumanitZ",
"url": "humanitz"
},
"server_owner": {
"username": "DedSamurai",
"avatar": "4b5acc7b-08de-4111-8645-f1868156dc34.jpg",
"last_online": 1770734784
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9964306");
$data = json_decode($json, true);
var_dump($data);