API для [GER] PVE Happy Scum /keine Mechs/Fun-Events (#Scumnet)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"type": 1,
"build": 145413,
"extraFlags": 0,
"statusFlags": 112,
"nameHeaderRaw": "508023010303",
"unknownStatusFlags": 112,
"steam_id": null,
"domain": null,
"id": 14160852,
"ip": "176.57.173.97",
"port": 29802,
"query": 29802,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1787854996,
"last_online": 1787864173,
"icon": null,
"name": "[GER] PVE Happy Scum /keine Mechs/Fun-Events (#Scumnet)",
"connect": "176.57.173.97:29802",
"request": "176.57.173.97:29802",
"map": null,
"gamemode": "community-hosted",
"version": "1.3.3.1.145413",
"numplayers": 20,
"maxplayers": 64,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1787854996,
"last_update": 1787864173,
"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": 243,
"language": "de",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14160852");
$data = json_decode($json, true);
var_dump($data);