Arma 3
API für Cock
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11123675json
{
"response": {
"steam_id": "90284552670659608",
"domain": null,
"id": 11123675,
"ip": "5.198.53.163",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Hull",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776432204,
"score": 0,
"last_online": 1776421815,
"icon": null,
"name": "Cock",
"connect": "5.198.53.163:2302",
"request": "5.198.53.163:2303",
"map": "entropy",
"gamemode": "Welcome%20to%20the%20Future",
"version": "2.20.152984",
"numplayers": 2,
"maxplayers": 2,
"bots": 0,
"secured": false,
"private": true,
"country": "GB",
"status": false,
"votes": 0,
"points": 41,
"add_date": 1770115361,
"last_update": 1776432204,
"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": 78,
"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/11123675");
$data = json_decode($json, true);
var_dump($data);