DayZ
API для KarmaKrew Chernarus #1 EU - 1PP | VANILLA + MODS
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11421773json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11421773,
"ip": "72.56.119.181",
"port": 21515,
"query": 21768,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776570197,
"score": 0,
"last_online": 1776615018,
"icon": null,
"name": "KarmaKrew Chernarus #1 EU - 1PP | VANILLA + MODS",
"connect": "72.56.119.181:21515",
"request": "72.56.119.181:21768",
"map": "namalsk",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 75,
"maxplayers": 80,
"bots": 75,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 82,
"add_date": 1774600039,
"last_update": 1776615018,
"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": 745,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11421773");
$data = json_decode($json, true);
var_dump($data);