No More Room in Hell
API для (GwG) Public Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9051923json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9051923,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"lqlJqPmZH1\",\"type\":\"paragraph\",\"data\":{\"text\":\"Hosted by: www.h34dl3ss.com\"}},{\"id\":\"E10J0bWc22\",\"type\":\"paragraph\",\"data\":{\"text\":\"Hosted for: gwg.h34dl3ss.com\"}}]",
"game": 224260,
"owner": 115076,
"boosts": 1,
"last_offline": 1760766806,
"score": 0,
"last_online": 1758088820,
"icon": null,
"name": "(GwG) Public Server",
"connect": null,
"request": null,
"map": "nmo_underground",
"gamemode": "No More Room in Hell",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1746977307,
"last_update": 1760766806,
"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": 267,
"language": "en",
"parked": true,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": {
"username": "r1sen",
"avatar": "6d0152fd-fefd-4905-999f-8d2f61200e8e.jpg",
"last_online": 1758553564
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9051923");
$data = json_decode($json, true);
var_dump($data);