Arma 2: Operation Arrowhead
API für DMM Takistan
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/811914json
{
"response": {
"steam_id": "90282507008882707",
"domain": null,
"id": 811914,
"ip": "208.70.251.154",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Los Angeles",
"description": "",
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1773961919,
"score": null,
"last_online": 1776463299,
"icon": null,
"name": "DMM Takistan",
"connect": "208.70.251.154:2302",
"request": "208.70.251.154:2303",
"map": "Takistan",
"gamemode": "co30 DomiOA! West DMM v31",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684357578,
"last_update": 1776463299,
"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": 50,
"language": "en",
"parked": false,
"app": {
"id": 62,
"steam_id": 33930,
"name": "Arma 2: Operation Arrowhead",
"url": "arma-2-operation-arrowhead"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/811914");
$data = json_decode($json, true);
var_dump($data);