API für Forest Brothers (Lietuviai) Tactical Mil-Sim
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286567293387796",
"domain": null,
"id": 11659327,
"ip": "88.119.166.10",
"port": 2312,
"query": 2313,
"color": 0,
"city": "Vilnius",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780510437,
"last_online": 1780599052,
"icon": null,
"name": "Forest Brothers (Lietuviai) Tactical Mil-Sim",
"connect": "88.119.166.10:2312",
"request": "88.119.166.10:2313",
"map": "iron_excelsior_Tobruk",
"gamemode": "Antistasi Ultimate - Tobruk",
"version": "2.20.152984",
"numplayers": 3,
"maxplayers": 35,
"bots": 0,
"secured": false,
"private": false,
"country": "LT",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1780178407,
"last_update": 1780599052,
"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": 316,
"language": "lt",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11659327");
$data = json_decode($json, true);
var_dump($data);