HumanitZ
API для [RU] H4RD ST4CK | PvPvE | [Dedicated] by Man Fish
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11139182json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11139182,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"wVZ6-GxFSk\",\"type\":\"paragraph\",\"data\":{\"text\":\"Добро пожаловать! Сервер работает с дефолтными настройками! \"}}]",
"game": 1766060,
"owner": 159102,
"boosts": 1,
"last_offline": 1771998652,
"score": 0,
"last_online": 1771060213,
"icon": null,
"name": "[RU] H4RD ST4CK | PvPvE | [Dedicated] by Man Fish",
"connect": null,
"request": null,
"map": "Main Map",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770714446,
"last_update": 1771998652,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 311,
"language": "ru",
"parked": true,
"app": {
"id": 1531516,
"steam_id": 1766060,
"name": "HumanitZ",
"url": "humanitz"
},
"server_owner": {
"username": "leshchev",
"avatar": "bf0af32c-a008-475a-9d8e-189864f85297.jpg",
"last_online": 1771563257
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11139182");
$data = json_decode($json, true);
var_dump($data);