API для dm.dark-arena.com:27017 [COOP +Zombies] #7 www.dark-arena.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792993779,
"app": {
"id": 1,
"name": "Half-Life 2: Deathmatch",
"steam_id": 320,
"url": "half-life-2-deathmatch"
},
"color": 0,
"connect": null,
"country": "RO",
"domain": null,
"game": 320,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19075722,
"ip": null,
"language": "ro",
"last_update": 1793136365,
"map": "dm_runoff",
"maxplayers": 22,
"name": "dm.dark-arena.com:27017 [COOP +Zombies] #7 www.dark-arena.com",
"numplayers": 0,
"official": null,
"points": 0,
"port": null,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": null,
"request": null,
"secured": true,
"status": false,
"steam_id": "85568392923724814",
"version": "10889068",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Бакэу",
"description": null,
"disabled_modules": [],
"gamemode": "Half-Life 2 Deathmatch",
"hidden": false,
"last_offline": null,
"last_online": 1793136365,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": true,
"position_game": 833,
"wipe_period": null,
"coop": "1",
"sv_tags": "300tick zombies hlstatsx fastdl,HLstatsX:CE,alltalk",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"mc_version": "1.2",
"sb_version": "1.8.2",
"sm_nextmap": "dm_killbox_final",
"sv_alltalk": "1",
"sv_contact": "www.dark-arena.com",
"sv_gravity": "600",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "1",
"mp_winlimit": "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": "300",
"mp_maxrounds": "0",
"mp_timelimit": "0",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "100",
"hlxce_version": "",
"hlxce_webpage": "http://www.hlxcommunity.com",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_tournament": "0",
"mp_weaponstay": "0",
"sv_accelerate": "10",
"sv_specnoclip": "1",
"sv_steamgroup": "",
"decalfrequency": "60",
"mp_fadetoblack": "0",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"metamod_version": "2.0.0-dev+1348V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "0",
"mp_autocrosshair": "1",
"mp_forceautoteam": "0",
"players_complete": true,
"stripper_version": "1.2.2",
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"r_JeepViewZHeight": "10.0",
"sbchecker_version": "1.8.2",
"sourcemod_version": "1.12.0.7202",
"sv_specaccelerate": "5",
"mp_autoteambalance": "1",
"mp_holiday_nogifts": "0",
"mp_respawnwavetime": "10.0",
"sm_godmode_version": "2.3.1",
"sv_wateraccelerate": "10",
"tf_arena_use_queue": "1",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"sbpp_report_version": "1.8.0",
"sourcecomms_version": "1.8.1",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "3",
"tf_arena_round_time": "0",
"hlxce_plugin_version": "1.6.19",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sv_vote_quorum_ratio": "0.6",
"mp_scrambleteams_auto": "1",
"sm_downloader_version": "1.4",
"stripper_current_file": "dm_runoff",
"mp_stalemate_meleeonly": "0",
"sm_infinite_aux_breath": "1",
"sm_infinite_aux_sprint": "1",
"tf_arena_preround_time": "10",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_infinite_aux_version": "1.1",
"sm_sourcesleuth_version": "1.8.0",
"superlogs_hl2mp_version": "1.1.3",
"mp_disable_respawn_times": "0",
"sm_quakesoundsv3_version": "3.5.0",
"sv_maxusrcmdprocessticks": "24",
"mp_match_end_at_timelimit": "0",
"sm_advertisements_version": "2.1.0",
"sv_report_client_settings": "0",
"sv_hl2mp_item_respawn_time": "30",
"sv_hl2mp_weapon_respawn_time": "20",
"mp_scrambleteams_auto_windifference": "2"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19075722");
$data = json_decode($json, true);
var_dump($data);