API для Gansta Rogger Unlimited Experimental
JSON для программ, сайтов и прочего
text
json
{
"response": {
"build": 134527,
"extraFlags": 1,
"nameHeaderRaw": "f0d720000203",
"statusFlags": 48,
"type": 0,
"unknownStatusFlags": 48,
"steam_id": null,
"domain": null,
"id": 12408283,
"ip": "83.219.250.108",
"port": 7779,
"query": 7779,
"project_id": null,
"color": 0,
"city": "Stockholm",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1784742000,
"last_online": 1784655000,
"icon": null,
"name": "Gansta Rogger Unlimited Experimental",
"connect": "83.219.250.108:7779",
"request": "83.219.250.108:7779",
"map": null,
"gamemode": "community-direct",
"version": "1.3.2.0.134527",
"numplayers": 0,
"maxplayers": 33,
"bots": 0,
"secured": null,
"private": false,
"country": "SE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1784651609,
"last_update": 1784742000,
"ban_reason": null,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12734,
"language": "sv",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12408283");
$data = json_decode($json, true);
var_dump($data);