API для LPowell109 auf Fliegen
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286567170583566",
"domain": null,
"id": 11749929,
"ip": "93.201.157.50",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Hagen",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780590808,
"last_online": 1780524647,
"icon": null,
"name": "LPowell109 auf Fliegen",
"connect": "93.201.157.50:2302",
"request": "93.201.157.50:2303",
"map": "SefrouRamal",
"gamemode": "-= Liberation RX BWmod=-",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780519088,
"last_update": 1780590808,
"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": 5866,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11749929");
$data = json_decode($json, true);
var_dump($data);