API для PODPIVAS #11 CHERNARUS LITE 2
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286748200733711",
"domain": null,
"id": 3090295,
"ip": "185.207.214.121",
"port": 2302,
"query": 2216,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780314852,
"last_online": 1780928426,
"icon": null,
"name": "PODPIVAS #11 CHERNARUS LITE 2",
"connect": "185.207.214.121:2302",
"request": "185.207.214.121:2216",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 60,
"maxplayers": 90,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1708879428,
"last_update": 1780928426,
"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": 3756,
"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/3090295");
$data = json_decode($json, true);
var_dump($data);