DayZ
API для [RUS]RAW-WAR|LOOT+|TRADER|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11413901json
{
"response": {
"steam_id": 90285049994199040,
"domain": null,
"id": 11413901,
"ip": "31.131.137.197",
"port": 2302,
"query": 27016,
"color": 0,
"city": "Amvrosiyivka",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776891800,
"score": 0,
"last_online": 1777324246,
"icon": null,
"name": "[RUS]RAW-WAR|LOOT+|TRADER|",
"connect": "31.131.137.197:2302",
"request": "31.131.137.197:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774599097,
"last_update": 1777324246,
"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": 3204,
"language": "uk",
"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/11413901");
$data = json_decode($json, true);
var_dump($data);