Valheim
API для Megaton - Alfheim
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6045534json
{
"response": {
"steam_id": "90284802639713286",
"domain": null,
"id": 6045534,
"ip": "32.217.29.180",
"port": 2476,
"query": 2477,
"color": 0,
"city": "East Hartford",
"description": null,
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1777557154,
"score": 0,
"last_online": 1776874309,
"icon": null,
"name": "Megaton - Alfheim",
"connect": "32.217.29.180:2476",
"request": "32.217.29.180:2477",
"map": "Megaton - Alfheim",
"gamemode": null,
"version": "0.221.12",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1727565371,
"last_update": 1777557154,
"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": 7367,
"language": "en",
"parked": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6045534");
$data = json_decode($json, true);
var_dump($data);