DayZ
API для REJECTED | S.T.A.L.K.E.R [RP]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8003673json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8003673,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 221100,
"owner": 109303,
"boosts": 1,
"last_offline": 1762235577,
"score": 0,
"last_online": 1761291028,
"icon": null,
"name": "REJECTED | S.T.A.L.K.E.R [RP]",
"connect": null,
"request": null,
"map": "ExclusionZone",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1741198044,
"last_update": 1762235577,
"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": 4495,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "nickdornik",
"avatar": "659634d4-dd26-4c37-b9f6-a48f6c54367e.jpg",
"last_online": 1742124159
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8003673");
$data = json_decode($json, true);
var_dump($data);