API для TimsValheimServer2026
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789862427,
"app": {
"id": 34967,
"name": "Valheim",
"steam_id": 892970,
"url": "valheim"
},
"color": 0,
"connect": "79.240.155.14:2456",
"country": "DE",
"domain": null,
"game": 892970,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16772047,
"ip": "79.240.155.14",
"language": "de",
"last_update": 1790700783,
"map": "TimsValheimServer2026",
"maxplayers": 10,
"name": "TimsValheimServer2026",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2456,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2457,
"request": "79.240.155.14:2457",
"secured": false,
"status": false,
"steam_id": "90292933154529289",
"version": "1.0.14",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Георгсмариенхютте",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1790700783,
"last_online": 1789945936,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 75791,
"wipe_period": null,
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16772047");
$data = json_decode($json, true);
var_dump($data);