API для hldm at astral.otomir23.me
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1772229533,
"app": {
"id": 9,
"name": "Half-Life",
"steam_id": 70,
"url": "half-life"
},
"color": 0,
"connect": "64.188.69.141:27015",
"country": "DE",
"domain": null,
"game": 70,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11179617,
"ip": "64.188.69.141",
"language": "de",
"last_update": 1790391850,
"map": "crossfire",
"maxplayers": 32,
"name": "hldm at astral.otomir23.me",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "64.188.69.141:27015",
"secured": true,
"status": true,
"steam_id": "90293461871717401",
"version": "1.1.2.2/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Франкфурт-на-Майне",
"description": null,
"disabled_modules": [],
"gamemode": "Half-Life",
"hidden": false,
"last_offline": 1790258695,
"last_online": 1790391850,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 224,
"wipe_period": null,
"coop": "0",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_logfile": "1",
"sv_alltalk": "0",
"sv_contact": "",
"sv_gravity": "800",
"sv_maxrate": "0",
"sv_minrate": "0",
"sv_proxies": "1",
"environment": "l",
"mp_chattime": "10",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_timeleft": "0",
"sv_friction": "4",
"sv_maxspeed": "270",
"sv_password": "0",
"sv_stepsize": "18",
"a2s_protocol": 48,
"edgefriction": "2",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_fragsleft": "0",
"mp_timelimit": "0",
"sv_logblocks": "0",
"sv_stopspeed": "100",
"sv_uploadmax": "0.5",
"mp_falldamage": "0",
"mp_flashlight": "0",
"mp_weaponstay": "0",
"sv_accelerate": "10",
"decalfrequency": "30",
"mp_consistency": "1",
"sv_allowupload": "1",
"sv_clienttrace": "3.5",
"sv_voiceenable": "1",
"max_queries_sec": "1",
"mp_forcerespawn": "1",
"mp_friendlyfire": "0",
"allow_spectators": "0.0",
"mp_allowmonsters": "0",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "100",
"sv_allow_autoaim": "0",
"sv_allow_shaders": "1",
"sv_waterfriction": "1",
"sv_uploadmaxcount": "10",
"max_queries_window": "1",
"sv_wateraccelerate": "10",
"max_queries_sec_global": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11179617");
$data = json_decode($json, true);
var_dump($data);