API для [NA] Valhalla Gaming
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90217470983212035",
"domain": null,
"id": 11668804,
"ip": "64.44.28.3",
"port": 26910,
"query": 26910,
"color": 0,
"city": "Chicago",
"description": null,
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1780180345,
"last_online": 1780233722,
"icon": null,
"name": "[NA] Valhalla Gaming",
"connect": "64.44.28.3:26910",
"request": "64.44.28.3:26910",
"map": "Navezgane",
"gamemode": "7 Days To Die",
"version": "01.01.01",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780180345,
"last_update": 1780233722,
"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": 1731,
"language": "en",
"parked": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11668804");
$data = json_decode($json, true);
var_dump($data);