API für The Dragoons Milsim
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286681618682894",
"domain": null,
"id": 11659428,
"ip": "64.74.161.188",
"port": 2306,
"query": 2307,
"project_id": null,
"color": 0,
"city": "Pointe-Claire",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780691001,
"last_online": 1780780841,
"icon": null,
"name": "The Dragoons Milsim",
"connect": "64.74.161.188:2306",
"request": "64.74.161.188:2307",
"map": "cfb_moosehead",
"gamemode": "TDM_Training_Base",
"version": "2.20.152984",
"numplayers": 11,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 47,
"add_date": 1780178410,
"last_update": 1780780841,
"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": 172,
"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/11659428");
$data = json_decode($json, true);
var_dump($data);