API для Strij PVE Deerisle https://discord.gg/tRZnuRZ
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286592364629005",
"domain": null,
"id": 693671,
"ip": "77.39.9.79",
"port": 2300,
"query": 27010,
"color": 0,
"city": "Stavropol",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780311854,
"last_online": 1780576966,
"icon": null,
"name": "Strij PVE Deerisle https://discord.gg/tRZnuRZ",
"connect": "77.39.9.79:2300",
"request": "77.39.9.79:27010",
"map": "deerisle",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1672004602,
"last_update": 1780576966,
"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": 5448,
"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/693671");
$data = json_decode($json, true);
var_dump($data);