Multi Theft Auto
API для DayZ NEW FREE ADMIN
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10454596json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10454596,
"ip": "46.174.50.20",
"port": 22058,
"query": 22181,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000039,
"owner": null,
"boosts": 1,
"last_offline": 1773937321,
"score": 0,
"last_online": 1776798657,
"icon": null,
"name": "DayZ NEW FREE ADMIN",
"connect": "46.174.50.20:22058",
"request": "46.174.50.20:22181",
"map": "None",
"gamemode": "MTA:SA",
"version": "1.5",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1760085701,
"last_update": 1776798657,
"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": 23,
"language": "ru",
"parked": false,
"app": {
"id": 40530,
"steam_id": 9000039,
"name": "Multi Theft Auto",
"url": "multi-theft-auto"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10454596");
$data = json_decode($json, true);
var_dump($data);