API для *Escuadron Batata ARG* ~ [ Classic | Vanilla | Custom Maps ]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1766253875,
"app": {
"id": 6,
"name": "No More Room in Hell",
"steam_id": 224260,
"url": "no-more-room-in-hell"
},
"color": 0,
"connect": "45.235.98.41:27016",
"country": "AR",
"domain": null,
"game": 224260,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10752590,
"ip": "45.235.98.41",
"language": "es",
"last_update": 1794770185,
"map": "nmo_blizzard",
"maxplayers": 8,
"name": "*Escuadron Batata ARG* ~ [ Classic | Vanilla | Custom Maps ]",
"numplayers": 7,
"official": null,
"points": 112,
"port": 27016,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "45.235.98.41:27016",
"secured": true,
"status": true,
"steam_id": "90297511868755971",
"version": "1.1.5.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Кордова",
"description": null,
"disabled_modules": [],
"gamemode": "NMRiH: Classic",
"hidden": false,
"last_offline": 1793700010,
"last_online": 1794770185,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 14,
"wipe_period": null,
"coop": "0",
"sv_tags": "alltalk,classic,custom,custom_difficulty,custom_maps,events,fastdl,nightmare,objective,pvp,survival,workshop",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"mt_version": "1.4.14",
"sm_nextmap": "nmo_enervation_v1",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "800",
"sv_maphack": "1",
"SA3_version": "3.1.3",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"scp_version": "2.1.0",
"sv_friction": "4",
"sv_maxspeed": "320",
"sv_password": "0",
"sv_pausable": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 17,
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_timelimit": "40",
"rtve_version": "1.11.1",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "100",
"hl_goto_flags": "f",
"mp_falldamage": "0",
"mp_flashlight": "0",
"mp_limitteams": "2",
"mp_weaponstay": "0",
"sv_accelerate": "10",
"sv_difficulty": "classic",
"sv_specnoclip": "1",
"sv_steamgroup": "103582791436890822",
"decalfrequency": "10",
"mp_fadetoblack": "0",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"crontab_version": "2.0",
"hl_goto_enabled": "1",
"metamod_version": "1.12.0-dev+1229V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "0",
"sv_resupplytime": "60",
"cronjobs_version": "2.0",
"mp_autocrosshair": "1",
"players_complete": true,
"shepherd_version": "1.0.3",
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"r_JeepViewZHeight": "10.0",
"sourcemod_version": "1.12.0.7260",
"sv_specaccelerate": "5",
"hl_goto_allow_bots": "1",
"sv_wateraccelerate": "10",
"doorprotect_version": "1.0.3",
"r_VehicleViewDampen": "1",
"sv_maphack_filename": "",
"sv_noclipaccelerate": "5",
"player_pings_version": "1.0.6",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sv_vote_quorum_ratio": "0.52",
"sm_evilrocket_version": "1.0.110",
"sm_restart_empty_delay": "600",
"guaranteedspawn_version": "1.0.24",
"hl_goto_ignore_immunity": "0",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_restart_empty_enable": "1",
"sm_restart_empty_method": "3",
"sv_allow_custom_balance": "0",
"sm_restart_empty_version": "2.9",
"sv_maxusrcmdprocessticks": "24",
"custom_chat_colors_version": "3.1.0",
"sm_restart_empty_utc_delta": "0.0",
"sm_restart_empty_min_period": "0",
"nmr_inventory_ornaments_version": "0.1.4",
"sm_restart_empty_force_hour_end": "-1",
"sm_restart_empty_limit_hour_end": "24",
"sm_restart_empty_unload_ext_num": "0",
"sm_restart_empty_force_hour_start": "-1",
"sm_restart_empty_limit_hour_start": "0",
"sm_restart_empty_server_start_changemap": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10752590");
$data = json_decode($json, true);
var_dump($data);