Arma 3
API für UKSF Milsim Operations
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2515708json
{
"response": {
"steam_id": "90284618578223126",
"domain": null,
"id": 2515708,
"ip": "144.76.105.149",
"port": 2328,
"query": 2329,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776533006,
"score": null,
"last_online": 1776813679,
"icon": null,
"name": "UKSF Milsim Operations",
"connect": "144.76.105.149:2328",
"request": "144.76.105.149:2329",
"map": "juju_sahatra",
"gamemode": "UKSF_Milsim_Operation_Red_Lance",
"version": "2.20.153495",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1705502034,
"last_update": 1776813679,
"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": 624,
"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/2515708");
$data = json_decode($json, true);
var_dump($data);