Arma 3
API für TF Brute
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10086687json
{
"response": {
"steam_id": "90284575442248710",
"domain": null,
"id": 10086687,
"ip": "164.152.123.223",
"port": 2311,
"query": 2312,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776013336,
"score": 0,
"last_online": 1776480744,
"icon": null,
"name": "TF Brute",
"connect": "164.152.123.223:2311",
"request": "164.152.123.223:2312",
"map": "dagger_island_summer",
"gamemode": "Task Force Brute Homebase",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1755469340,
"last_update": 1776480744,
"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": 1291,
"language": "nl",
"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/10086687");
$data = json_decode($json, true);
var_dump($data);