DayZ
API для Bartleskeet|Chernarus|Fast Night|Survival/PvE/NonKOS
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10032400json
{
"response": {
"steam_id": "90285206815538197",
"domain": null,
"id": 10032400,
"ip": "68.231.6.213",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Phoenix",
"description": "[{\"id\":\"EjLnqOABxQ\",\"type\":\"header\",\"data\":{\"text\":\"Welcome to the Bartleskeet Chernarus server Fast Night Survival/PvE NonPVP/KOS\",\"level\":2}}]",
"game": 221100,
"owner": 130468,
"boosts": 1,
"last_offline": 1776307312,
"score": 0,
"last_online": 1777654215,
"icon": null,
"name": "Bartleskeet|Chernarus|Fast Night|Survival/PvE/NonKOS",
"connect": "68.231.6.213:2302",
"request": "68.231.6.213:2305",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1755056884,
"last_update": 1777654215,
"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": 146,
"language": "en",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "darkschneidr",
"avatar": "86be3547-afbf-405d-b575-3a628a2e5a58.jpg",
"last_online": 1761679806
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10032400");
$data = json_decode($json, true);
var_dump($data);