Arma 3
API für [OFFICIAL] Across the Fence #4
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10312767json
{
"response": {
"steam_id": "90279589620312066",
"domain": null,
"id": 10312767,
"ip": "178.63.54.51",
"port": 2602,
"query": 2603,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1773545568,
"score": 0,
"last_online": 1776499320,
"icon": null,
"name": "[OFFICIAL] Across the Fence #4",
"connect": "178.63.54.51:2602",
"request": "178.63.54.51:2603",
"map": "vn_khe_sanh",
"gamemode": "Across the Fence (v0.12.0@b24b559a beta)",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1758289483,
"last_update": 1776499320,
"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": 1315,
"language": "de",
"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/10312767");
$data = json_decode($json, true);
var_dump($data);