API для Woldies Prive Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1784987548,
"app": {
"id": 1600891,
"name": "Icarus",
"steam_id": 1149460,
"url": "icarus"
},
"color": 0,
"connect": "92.109.197.222:11026",
"country": "NL",
"domain": null,
"game": 1149460,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12613414,
"ip": "92.109.197.222",
"language": "nl",
"last_update": 1791174256,
"map": null,
"maxplayers": 4,
"name": "Woldies Prive Server",
"numplayers": 0,
"official": null,
"points": 30,
"port": 11026,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "92.109.197.222:27015",
"secured": true,
"status": true,
"steam_id": "90289611500369930",
"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": 1790738725,
"last_online": 1791174256,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2837,
"wipe_period": null,
"D_s": "1",
"G_s": "3.0.20.154829-x-x",
"L_s": "1",
"P_s": "Lobby",
"P2PADDR": "90289611500369930",
"P2PPORT": "11026",
"CONMETHOD": "P2P",
"OWNINGNAME": "Woldies Prive Server",
"listentype": "d",
"environment": "l",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"ProspectInfo_s": "BgAAAExvYmJ5AAAAAAAAAAAAAAAAAAAAAAANAAAAU2VydmVyIExvYmJ5AAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12613414");
$data = json_decode($json, true);
var_dump($data);