API für Antistasi (220)
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286408387348509",
"domain": null,
"id": 11659425,
"ip": "85.115.173.27",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Yekaterinburg",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780334000,
"last_online": 1780189838,
"icon": null,
"name": "Antistasi (220)",
"connect": "85.115.173.27:27015",
"request": "85.115.173.27:27016",
"map": "cup_chernarus_A3",
"gamemode": "Antistasi Ultimate - Chernarus 2020",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780178410,
"last_update": 1780334000,
"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": 5228,
"language": "ru",
"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/11659425");
$data = json_decode($json, true);
var_dump($data);