API для Reborn from the Ashlands
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90292510987703308",
"domain": null,
"id": 13832474,
"ip": "207.244.240.94",
"port": 32700,
"query": 32701,
"project_id": null,
"color": 0,
"city": "Сент-Луис",
"description": null,
"game": 892970,
"boosts": 1,
"last_offline": 1788959505,
"last_online": 1789078611,
"icon": null,
"name": "Reborn from the Ashlands",
"connect": "207.244.240.94:32700",
"request": "207.244.240.94:32701",
"map": "Reborn from the Ashlands",
"gamemode": null,
"version": "1.0.7",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1787091772,
"last_update": 1789078611,
"ban_reason": null,
"banned": false,
"hidden": 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": 20714,
"language": "en",
"parked": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim"
},
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13832474");
$data = json_decode($json, true);
var_dump($data);