Arma 3
API für � [ OFFICIAL ] Arma 3 CP by Bohemia Interactive (EU) #02
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/79031json
{
"response": {
"steam_id": 90284580710472720,
"domain": null,
"id": 79031,
"ip": "85.190.155.159",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1774025520,
"score": null,
"last_online": 1776464535,
"icon": null,
"name": "� [ OFFICIAL ] Arma 3 CP by Bohemia Interactive (EU) #02",
"connect": "85.190.155.159:2402",
"request": "85.190.155.159:2403",
"map": "Altis",
"gamemode": "Combat Patrol",
"version": "2.20.153601",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1521500020,
"last_update": 1776464535,
"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": 423,
"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/79031");
$data = json_decode($json, true);
var_dump($data);