API для razrab sin huini
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789763689,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "91.233.172.245:2302",
"country": "MD",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16724050,
"ip": "91.233.172.245",
"language": "ro",
"last_update": 1790517105,
"map": "chernarusplus",
"maxplayers": 10,
"name": "razrab sin huini",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2302,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "91.233.172.245:27016",
"secured": true,
"status": false,
"steam_id": "90292999916127261",
"version": "1.29.163709",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Бельцы",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1790517105,
"last_online": 1789762776,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 20602,
"wipe_period": null,
"os": "w",
"time": "08:00",
"queue": 0,
"region": -1,
"product": "dayz",
"gametype": "battleye,external,privHive,shard123ABC,lqs0,etm12.000000,entm1.000000,mod,08:00",
"dedicated": true,
"dlc_enabled": false,
"first_person": false,
"day_acceleration": 12,
"night_acceleration": 1
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16724050");
$data = json_decode($json, true);
var_dump($data);