DayZ
API für [RU|EU]|Fire Echo | CHERNO |PVP |
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11488924json
{
"response": {
"steam_id": "90284403896032274",
"domain": null,
"id": 11488924,
"ip": "212.22.85.238",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 90030,
"boosts": 1,
"last_offline": 1776168717,
"score": 0,
"last_online": 1776264613,
"icon": null,
"name": "[RU|EU]|Fire Echo | CHERNO |PVP |",
"connect": "212.22.85.238:2302",
"request": "212.22.85.238:2305",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 4,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1775924236,
"last_update": 1776264613,
"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": 807,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "tfaxel",
"avatar": "e82d99bc-a0b0-4196-8c10-48cba08d0582.jpg",
"last_online": 1775939921
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11488924");
$data = json_decode($json, true);
var_dump($data);