DayZ
API для [RU] IMPULSE | PVP | DeathMatch
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/785998json
{
"response": {
"steam_id": "90285070934028296",
"domain": null,
"id": 785998,
"ip": "185.207.214.146",
"port": 2302,
"query": 2406,
"color": 0,
"city": "Moscow",
"description": "Наш дискорд: https://discord.gg/nw-dayz\nНаш ВК: https://vk.com/dayz_nw",
"game": 221100,
"owner": 37419,
"boosts": 1,
"last_offline": 1777105369,
"score": null,
"last_online": 1777479012,
"icon": null,
"name": "[RU] IMPULSE | PVP | DeathMatch",
"connect": "185.207.214.146:2302",
"request": "185.207.214.146:2406",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 4,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1683451896,
"last_update": 1777479012,
"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": 117,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "PLAiNER",
"avatar": "1a229a45-a464-44bf-9cb5-49325f4112d0.jpg",
"last_online": 1714589875
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/785998");
$data = json_decode($json, true);
var_dump($data);