DayZ
API для [EU] EoE-Eternauta ||PVP|HC++|1pp|Medplus|Toxic Snow|IA|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11150227json
{
"response": {
"steam_id": "90285639624314895",
"domain": null,
"id": 11150227,
"ip": "45.138.200.148",
"port": 2702,
"query": 2703,
"color": 0,
"city": "Scarperia e San Piero",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1778312582,
"score": 0,
"last_online": 1778543440,
"icon": null,
"name": "[EU] EoE-Eternauta ||PVP|HC++|1pp|Medplus|Toxic Snow|IA|",
"connect": "45.138.200.148:2702",
"request": "45.138.200.148:2703",
"map": "pnw",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": true,
"country": "IT",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772227772,
"last_update": 1778543440,
"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": 2851,
"language": "it",
"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/11150227");
$data = json_decode($json, true);
var_dump($data);