Adrenaline Gamer
API для US #1 | Liga Latinoamericana de Half-Life | Hosted by 7mochi
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4410755json
{
"response": {
"steam_id": "90283771067060224",
"domain": null,
"id": 4410755,
"ip": "23.230.3.220",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Miami",
"description": "",
"game": 9000049,
"owner": null,
"boosts": 1,
"last_offline": 1774026123,
"score": 0,
"last_online": 1776440518,
"icon": null,
"name": "US #1 | Liga Latinoamericana de Half-Life | Hosted by 7mochi",
"connect": "23.230.3.220:27015",
"request": "23.230.3.220:27015",
"map": "boot_camp",
"gamemode": "LLHL*",
"version": "1.1.2.2/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1716326052,
"last_update": 1776440518,
"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": 35,
"language": "en",
"parked": false,
"app": {
"id": 109,
"steam_id": 9000049,
"name": "Adrenaline Gamer",
"url": "adrenaline-gamer"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4410755");
$data = json_decode($json, true);
var_dump($data);