DayZ
API für MIDNIGHT Beta DM 3PP | CHERNARUS
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/770639json
{
"response": {
"steam_id": "90285382938140678",
"domain": null,
"id": 770639,
"ip": "185.207.214.16",
"port": 2402,
"query": 2405,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1777722742,
"score": null,
"last_online": 1778001032,
"icon": null,
"name": "MIDNIGHT Beta DM 3PP | CHERNARUS",
"connect": "185.207.214.16:2402",
"request": "185.207.214.16:2405",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 4,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1680794622,
"last_update": 1778001032,
"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": 1089,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/770639");
$data = json_decode($json, true);
var_dump($data);