API для FlufyBuny's GoldenEye: Source v5.0 Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90284330780211202",
"domain": null,
"id": 11588440,
"ip": "75.192.145.213",
"port": 26002,
"query": 26002,
"color": 0,
"city": "Millersville",
"description": null,
"game": 9000004,
"owner": null,
"boosts": 1,
"last_offline": 1779700364,
"last_online": 1779469302,
"icon": null,
"name": "FlufyBuny's GoldenEye: Source v5.0 Server",
"connect": "75.192.145.213:26002",
"request": "75.192.145.213:26002",
"map": "ge_bunker",
"gamemode": "Deathmatch",
"version": "1.0.1.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357733,
"last_update": 1779700364,
"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": 24,
"language": "en",
"parked": false,
"app": {
"id": 20,
"steam_id": 9000004,
"name": "GoldenEye: Source",
"url": "goldeneye-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11588440");
$data = json_decode($json, true);
var_dump($data);