DayZ
API für VOiD/Cherno3PP/PVP/Vanilla
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11222729json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11222729,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 177340,
"boosts": 1,
"last_offline": 1775455288,
"score": 0,
"last_online": 1774580477,
"icon": null,
"name": "VOiD/Cherno3PP/PVP/Vanilla",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1773071355,
"last_update": 1775455288,
"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": 4987,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "durak_bledb",
"avatar": "no.jpg",
"last_online": 1773516603
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11222729");
$data = json_decode($json, true);
var_dump($data);