API für Captainface420
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286525139354643",
"domain": null,
"id": 11691507,
"ip": "69.127.241.200",
"port": 2302,
"query": 2303,
"color": 0,
"city": "West Babylon",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780428259,
"last_online": 1780421456,
"icon": null,
"name": "Captainface420",
"connect": "69.127.241.200:2302",
"request": "69.127.241.200:2303",
"map": "green_sea_2023",
"gamemode": "Antistasi Ultimate - Green Sea 2023",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780224976,
"last_update": 1780428259,
"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": 5452,
"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/11691507");
$data = json_decode($json, true);
var_dump($data);