JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/7846203
json
{
  "response": {
    "coop": "0",
    "sv_aim": "0",
    "bot_stop": "0",
    "bot_walk": "0",
    "pausable": "0",
    "bot_debug": "0",
    "bot_quota": "0",
    "sv_bounce": "1",
    "sv_cheats": "0",
    "bot_prefix": "",
    "bot_zombie": "0",
    "deathmatch": "1",
    "listentype": "d",
    "mp_buytime": "99.25",
    "mp_c4timer": "35",
    "mp_logfile": "1",
    "sv_alltalk": "1",
    "sv_contact": "493446084@qq.com",
    "sv_gravity": "800",
    "sv_maxrate": "25000",
    "sv_minrate": "5000",
    "sv_proxies": "1",
    "sv_restart": "0",
    "sv_version": "1.1.2.7/Stdio,48,2899",
    "VTC_Version": "2017RC5",
    "bot_chatter": "off",
    "environment": "w",
    "mp_autokick": "0",
    "mp_chattime": "1",
    "mp_maxmoney": "16000",
    "mp_playerid": "2",
    "mp_timeleft": "00:00",
    "mp_tkpunish": "0",
    "mp_winlimit": "0",
    "reu_version": "0.1.0.135",
    "sv_friction": "4",
    "sv_maxspeed": "320",
    "sv_password": "0",
    "sv_stepsize": "18",
    "a2s_protocol": 48,
    "amx_language": "en",
    "bot_nav_edit": "0",
    "bot_show_nav": "0",
    "edgefriction": "2",
    "game_version": "5.21.0.0-dev",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_fragsleft": "0",
    "mp_logdetail": "0",
    "mp_maxrounds": "0",
    "mp_roundover": "0",
    "mp_roundtime": "500",
    "mp_timelimit": "0",
    "sv_logblocks": "0",
    "sv_stopspeed": "75",
    "sv_uploadmax": "2",
    "bot_join_team": "any",
    "bot_nav_zdraw": "4",
    "bot_quicksave": "0",
    "bot_traceview": "0",
    "mp_falldamage": "1",
    "mp_flashlight": "1",
    "mp_freeforall": "0",
    "mp_freezetime": "0",
    "mp_limitteams": "30",
    "mp_startmoney": "16000",
    "sv_accelerate": "5",
    "bot_deathmatch": "0",
    "bot_difficulty": "0",
    "bot_join_delay": "0",
    "bot_profile_db": "BotProfile.db",
    "bot_quota_mode": "normal",
    "decalfrequency": "30",
    "mp_consistency": "0",
    "mp_fadetoblack": "0",
    "mp_forcecamera": "0",
    "mp_kickpercent": "0.66",
    "mp_logmessages": "1",
    "sv_allowupload": "0",
    "sv_clienttrace": "1.0",
    "sv_voiceenable": "1",
    "__S3_build_date": "04/05/2024",
    "amxmodx_version": "1.10.0.5461",
    "bot_auto_vacate": "1",
    "bot_show_danger": "0",
    "max_queries_sec": "1",
    "metamod_version": "1.21p37",
    "mp_buy_anywhere": "0",
    "mp_forcerespawn": "0",
    "mp_friendlyfire": "0",
    "mp_mapvoteratio": "0.66",
    "sv_restartround": "0",
    "allow_spectators": "1",
    "bot_allow_rifles": "0",
    "bot_allow_rogues": "0",
    "bot_allow_shield": "0",
    "humans_join_team": "any",
    "mp_forcechasecam": "0",
    "mp_infinite_ammo": "0",
    "mp_item_staytime": "300",
    "mp_radio_timeout": "1.5",
    "mp_windifference": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "bot_allow_pistols": "0",
    "bot_allow_snipers": "0",
    "mp_give_player_c4": "1",
    "mp_hostagepenalty": "0",
    "mp_round_infinite": "0",
    "bot_allow_grenades": "0",
    "bot_allow_shotguns": "0",
    "bot_defer_to_human": "0",
    "max_queries_window": "1",
    "mp_autoteambalance": "0",
    "sv_wateraccelerate": "10",
    "mp_autokick_timeout": "-1",
    "mp_hostage_hurtable": "1",
    "mp_radio_maxinround": "60",
    "amx_client_languages": "1",
    "mp_infinite_grenades": "0",
    "mp_show_scenarioicon": "0",
    "bot_join_after_player": "0",
    "mp_afk_bomb_drop_time": "0",
    "bot_allow_machine_guns": "0",
    "max_queries_sec_global": "1",
    "mp_round_restart_delay": "5",
    "mp_respawn_immunitytime": "0",
    "mp_scoreboard_showmoney": "3",
    "mp_scoreboard_showdefkit": "1",
    "mp_scoreboard_showhealth": "3",
    "ff_damage_reduction_other": "0.35",
    "bot_allow_sub_machine_guns": "0",
    "ff_damage_reduction_bullets": "0.35",
    "ff_damage_reduction_grenade": "0.25",
    "mp_respawn_immunity_effects": "1",
    "mp_weapons_allow_map_placed": "1",
    "mp_respawn_immunity_force_unset": "1",
    "ff_damage_reduction_grenade_self": "1.0",
    "steam_id": null,
    "domain": null,
    "id": 7846203,
    "ip": "110.42.10.50",
    "port": 27066,
    "query": 27066,
    "project_id": null,
    "color": 0,
    "city": "Нинбо",
    "description": null,
    "game": 10,
    "boosts": 1,
    "last_offline": 1789568690,
    "last_online": 1789750830,
    "icon": null,
    "name": "[广东多线]【天泽战队训练16服】强制T盾反作弊",
    "connect": "110.42.10.50:27066",
    "request": "110.42.10.50:27066",
    "map": "沙漠地带(dust2)",
    "gamemode": "Counter-Strike",
    "version": "1.1.2.7/Stdio",
    "numplayers": 1,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 33,
    "add_date": 1740146222,
    "last_update": 1789750830,
    "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": 3810,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7846203");
$data = json_decode($json, true);
var_dump($data);