Arma 3
API für Cadian 8th - Milsim WH 40k - https://discord.gg/H7jAzEqa4u
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10624692json
{
"response": {
"steam_id": "90285514174424086",
"domain": null,
"id": 10624692,
"ip": "37.187.28.178",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1778785335,
"score": 0,
"last_online": 1778316652,
"icon": null,
"name": "Cadian 8th - Milsim WH 40k - https://discord.gg/H7jAzEqa4u",
"connect": "37.187.28.178:2302",
"request": "37.187.28.178:2303",
"map": "OrbitaClivoCadminae",
"gamemode": "TRAININGBASE",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 58,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1763331750,
"last_update": 1778785335,
"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": 2817,
"language": "fr",
"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/10624692");
$data = json_decode($json, true);
var_dump($data);