API для 4Netplayers Freitag-LAN Icarus Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793453771,
"app": {
"id": 1600891,
"name": "Icarus",
"steam_id": 1149460,
"url": "icarus"
},
"color": 0,
"connect": "85.14.221.119:31500",
"country": "DE",
"domain": null,
"game": 1149460,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19443244,
"ip": "85.14.221.119",
"language": "de",
"last_update": 1794665744,
"map": null,
"maxplayers": 4,
"name": "4Netplayers Freitag-LAN Icarus Server",
"numplayers": 1,
"official": null,
"points": 48,
"port": 31500,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 31510,
"request": "85.14.221.119:31510",
"secured": true,
"status": true,
"steam_id": "90297433225312264",
"version": "0.0.0.1",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Дюссельдорф",
"description": null,
"disabled_modules": [],
"gamemode": "Icarus",
"hidden": false,
"last_offline": null,
"last_online": 1794665744,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 141,
"wipe_period": null,
"D_s": "1",
"G_s": "3.0.36.159996-x-x",
"L_s": "1",
"P_s": "_Valhalla",
"P2PADDR": "90297433225312264",
"P2PPORT": "31500",
"CONMETHOD": "P2P",
"OWNINGNAME": "4Netplayers Freitag-LAN Icarus Server",
"listentype": "d",
"environment": "l",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"ProspectInfo_s": "CQAAAFZhbGhhbGxhAAAAAAAAAAAAEwAAAE91dHBvc3QwMDZfT2x5bXB1cwAAAAAAAAAAAP//////////AgAAAAAAAAAAAQAAAAAAAAAAUy4DAAMAAAAQAAAAVkFMTEVSSUUgQ0xBVURFABAAAABWQUxMRVJJRSBDTEFVREUAEgAAADc2NTYxMTk4MTg4ODQzNzU1AAAAAAAX5wsAAgAAAAAAAAAAEAAAAFRPQkkgVEhFIEdSQU5ETQAQAAAAVE9CSSBUSEUgR1JBTkRNABIAAAA3NjU2MTE5ODA3NDg1MDk0MAABAAAAOwp0AAIAAAAAAQAAAAcAAABBTEVYVVMABwAAAEFMRVhVUwASAAAANzY1NjExOTc5NjEzOTMxMDAAAAAAAK++BwACAAAAAAAAAAA="
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19443244");
$data = json_decode($json, true);
var_dump($data);