Arma 3
API für Camp Monkey
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2340049json
{
"response": {
"steam_id": 90284790362856450,
"domain": null,
"id": 2340049,
"ip": "103.62.51.211",
"port": 2832,
"query": 2833,
"color": 0,
"city": "Sydney",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776816799,
"score": null,
"last_online": 1776816163,
"icon": null,
"name": "Camp Monkey",
"connect": "103.62.51.211:2832",
"request": "103.62.51.211:2833",
"map": "cytech_underground_terrain",
"gamemode": "Derp Hulk Arma Wing",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1703843424,
"last_update": 1776816799,
"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": 3353,
"language": "en",
"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/2340049");
$data = json_decode($json, true);
var_dump($data);