API для Chocobo Group #01
JSON для программ, сайтов и прочего
text
json
{
"response": {
"": "",
"st_meteor": "1",
"sv_cheats": "0",
"listentype": "d",
"environment": "w",
"sv_maxspeed": "1000.000000",
"a2s_protocol": 7,
"st_ice_throw": "6.0",
"sv_rollangle": "0",
"st_warp_speed": "1.0",
"sm_l4d2_surviv": "",
"st_finale_only": "0",
"tauntfrequency": "1",
"st_cobalt_throw": "5.0",
"l4d2_third_allow": "1",
"l4d_vendor_allow": "1",
"players_complete": true,
"l4d2_cs_kill_hud_y": "0.00",
"l4d2_third_db_modes": "",
"r_VehicleViewDampen": "1",
"l4d_vendor_modes_tog": "0",
"r_AirboatViewZHeight": "0.0",
"command_buffer_version": "2.9",
"lfd_both_ledge_version": "1.0",
"sm_lastboss_enable_warp": "0",
"st_gravity_extra_health": "0",
"DangerousWeapons_version": "1.1.1",
"l4d_vendor_health_snacks": "0",
"l4d_vendor_health_vendor": "10",
"rush_penalty_mult_damage": "1.0",
"sm_lastboss_force_second": "1000",
"l4d2_si_stumble_survivors": "0",
"l4d_healing_field_t2_glow": "1",
"sm_skill_drawcrown_damage": "500",
"l4d2_melee_immortals_flags": "31",
"l4d_tank_rock_bounce_repeat": "30",
"sm_lastboss_gravityinterval": "8.0",
"l4d2_cs_kill_hud_notice_time": "7.0",
"l4d2_movablemachinegun_block": "0",
"sm_lastboss_jumpheight_forth": "300.0",
"l4d2_infected_marker_use_range": "0",
"sm_lastboss_jumpinterval_forth": "1.0",
"l4d2_charger_steering_modes_tog": "0",
"l4d2_item_hint_glow_color_coach": "112 75 125",
"l4d2_item_hint_glow_color_louis": "0 255 255",
"l4d2_spawn1_uncommons_autochance": "1500",
"l4d2_splash_beta_damage_dmg_easy": "55.0",
"l4d2_adrenaline_recovery_tm_version": "1.0.1",
"l4d2_spawn2_uncommons_healthoverride": "-1",
"steam_id": null,
"domain": null,
"id": 16592977,
"ip": "126.187.169.27",
"port": 27041,
"query": 27041,
"project_id": null,
"color": 0,
"city": "Minato",
"description": null,
"game": 550,
"boosts": 1,
"last_offline": 1789581708,
"last_online": 1789746621,
"icon": null,
"name": "Chocobo Group #01",
"connect": "126.187.169.27:27041",
"request": "126.187.169.27:27041",
"map": "c1m1_hotel",
"gamemode": "Left 4 Dead 2",
"version": "2.2.4.3",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1789581708,
"last_update": 1789746621,
"ban_reason": null,
"banned": false,
"hidden": 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": 15867,
"language": "ja",
"parked": false,
"app": {
"id": 11,
"steam_id": 550,
"name": "Left 4 Dead 2",
"url": "left-4-dead-2"
},
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16592977");
$data = json_decode($json, true);
var_dump($data);