API для MrCalvin's HL Rally Server (FastDL) | discord.sbotnas.io
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788956096,
"app": {
"id": 113,
"name": "Half-Life Rally",
"steam_id": 9000018,
"url": "half-life-rally"
},
"color": 0,
"connect": "155.94.170.176:27046",
"country": "US",
"domain": null,
"game": 9000018,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 15721820,
"ip": "155.94.170.176",
"language": "en",
"last_update": 1791256630,
"map": "rc_vod",
"maxplayers": 16,
"name": "MrCalvin's HL Rally Server (FastDL) | discord.sbotnas.io",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27046,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27046,
"request": "155.94.170.176:27046",
"secured": true,
"status": true,
"steam_id": "90294121685432332",
"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": "HL Rally",
"hidden": false,
"last_offline": 1791185831,
"last_online": 1791256630,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3,
"wipe_period": null,
"coop": "0",
"sv_aim": "0",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_logfile": "1",
"sv_contact": "",
"sv_gravity": "520",
"sv_maxrate": "0",
"sv_minrate": "0",
"sv_proxies": "0",
"sv_version": "1.1.2.2/Stdio,48,4478",
"amx_nextmap": "rc_sunset",
"environment": "l",
"gal_version": "v5.9.1-926",
"mp_chattime": "10.000000",
"mp_timeleft": "8593",
"sv_friction": "0.25",
"sv_maxspeed": "3000",
"sv_password": "0",
"sv_stepsize": "4",
"a2s_protocol": 48,
"amx_language": "en",
"amx_timeleft": "08:04",
"edgefriction": "2",
"mp_footsteps": "0",
"mp_fraglimit": "0.000000",
"mp_fragsleft": "0",
"sv_logblocks": "0",
"sv_stopspeed": "100",
"sv_uploadmax": "0.5",
"mp_falldamage": "1",
"mp_flashlight": "1",
"mp_weaponstay": "0",
"sv_accelerate": "0.085",
"decalfrequency": "30",
"mp_consistency": "1",
"sv_allowupload": "0",
"sv_clienttrace": "3.5",
"sv_voiceenable": "1",
"amxbans_version": "6.13",
"amxmodx_version": "1.10.0.114",
"max_queries_sec": "1",
"metamod_version": "1.21p38",
"mp_forcerespawn": "0",
"mp_friendlyfire": "1",
"allow_spectators": "1.0",
"gal_mapcyclefile": "mapcycle.txt",
"mp_allowmonsters": "0",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "0.1",
"sv_allow_autoaim": "1",
"sv_waterfriction": "1",
"max_queries_window": "1",
"sv_wateraccelerate": "10",
"amx_client_languages": "1",
"sv_sbo_clientdll_url": "sbo.sbotnas.io",
"sv_engine_branch_file": "../sw.dll",
"max_queries_sec_global": "1",
"sv_hide_status_clients": "0",
"sv_sbo_clientdll_check": "0",
"amx_matter_bridge_version": "1.5",
"sv_sbo_bad_clientdll_hash": "e0b1bae1",
"sv_engine_legacy_branch_hashes": "1139c1b5"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/15721820");
$data = json_decode($json, true);
var_dump($data);