API для [RU] Artefact I STALKER PvE #1
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286077421709330,
"domain": null,
"id": 11602666,
"ip": "185.189.255.19",
"port": 2402,
"query": 2405,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 195836,
"boosts": 1,
"last_offline": 1779456825,
"last_online": 1779472828,
"icon": null,
"name": "[RU] Artefact I STALKER PvE #1",
"connect": "185.189.255.19:2402",
"request": "185.189.255.19:2405",
"map": "NHChernobyl",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 1,
"points": 61,
"add_date": 1779432465,
"last_update": 1779472828,
"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": 1697,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "konstantin_avgustovsky",
"avatar": "f8fe36b3-6412-462a-bf41-e31458b28736.jpg",
"last_online": 1779436285
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11602666");
$data = json_decode($json, true);
var_dump($data);