DayZ
API für [RU] DARK CITY: Vanilla+ | PvP | 1PP | Namalsk
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11182170json
{
"response": {
"steam_id": "90284648494415886",
"domain": null,
"id": 11182170,
"ip": "176.197.182.249",
"port": 2484,
"query": null,
"color": 0,
"city": "Novokuznetsk",
"description": null,
"game": 221100,
"owner": 123886,
"boosts": 1,
"last_offline": 1775663533,
"score": 0,
"last_online": 1776598223,
"icon": null,
"name": "[RU] DARK CITY: Vanilla+ | PvP | 1PP | Namalsk",
"connect": "176.197.182.249:2484",
"request": null,
"map": "namalsk",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772567914,
"last_update": 1776598223,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": true,
"position_game": 1172,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "Reestr",
"avatar": "70a6bb27-eb2a-44ed-bee9-0f5e80675a34.jpg",
"last_online": 1775495758
},
"mods": [
{
"id": 1612,
"name": "Namalsk Survival"
},
{
"id": 1613,
"name": "Namalsk Island"
}
],
"disabled_modules": [
"chat"
]
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11182170");
$data = json_decode($json, true);
var_dump($data);