DayZ
API для DECRYPTION | STALKER RP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6978031json
{
"response": {
"steam_id": "90284746409618454",
"domain": null,
"id": 6978031,
"ip": "185.207.214.96",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776786201,
"score": 1.4,
"last_online": 1776796259,
"icon": null,
"name": "DECRYPTION | STALKER RP",
"connect": "185.207.214.96:2302",
"request": "185.207.214.96:2303",
"map": "dz_map",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1734911939,
"last_update": 1776796259,
"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": 2928,
"language": "ru",
"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/6978031");
$data = json_decode($json, true);
var_dump($data);