DayZ
API für Fear Inside | STALKER RP | AoD
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11252570json
{
"response": {
"steam_id": "90284746484640782",
"domain": null,
"id": 11252570,
"ip": "5.42.211.27",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 181664,
"boosts": 1,
"last_offline": 1776642795,
"score": 0,
"last_online": 1776799819,
"icon": null,
"name": "Fear Inside | STALKER RP | AoD",
"connect": "5.42.211.27:2302",
"request": "5.42.211.27:2303",
"map": "ExclusionZone",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 6,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1774201061,
"last_update": 1776799819,
"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": 946,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "zaikin_lexa",
"avatar": "no.jpg",
"last_online": 1774294845
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11252570");
$data = json_decode($json, true);
var_dump($data);