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

text
https://api.gamemonitoring.ru/servers/11578405
json
{
  "response": {
    "add_date": 1779356919,
    "app": {
      "id": 48,
      "name": "Unturned",
      "steam_id": 304930,
      "url": "unturned"
    },
    "color": 0,
    "connect": "64.74.161.181:27018",
    "country": "CA",
    "domain": null,
    "game": 304930,
    "hide_address": false,
    "hide_query": false,
    "icon": "https://steamuserimages-a.akamaihd.net/ugc/478879292340609975/0CE68478AF41BDD88C98055BB497E14CC348AB45/",
    "id": 11578405,
    "ip": "64.74.161.181",
    "language": "en",
    "last_update": 1791201824,
    "map": "California2",
    "maxplayers": 24,
    "name": "Blocksburg 1 PvE and Building",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27018,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27018,
    "request": "64.74.161.181:27018",
    "secured": true,
    "status": true,
    "steam_id": "85568392930460851",
    "version": "3.26.3.11",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Pointe-Claire",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Friendly PvE with Purge Fridays!",
    "hidden": false,
    "last_offline": 1790715357,
    "last_online": 1791201824,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 559,
    "wipe_period": null,
    "Cfg_0": "Items.Spawn_Chance=0.2975",
    "Cfg_1": "Items.Quality_Multiplier=0.95",
    "Cfg_2": "Vehicles.Decay_Time=2592000",
    "Cfg_3": "Vehicles.Decay_Damage_Per_Second=0.001",
    "Cfg_4": "Vehicles.Has_Battery_Chance=1",
    "Cfg_5": "Vehicles.Min_Battery_Charge=1",
    "Cfg_6": "Vehicles.Max_Battery_Charge=1",
    "Cfg_7": "Vehicles.Has_Tire_Chance=1",
    "Cfg_8": "Vehicles.Unlocked_After_Seconds_In_Safezone=1500",
    "Cfg_9": "Vehicles.Gun_Lowcal_Damage_Multiplier=0",
    "Mod_0": "1753131903,2169936279,2781454514,2625854624,1418436222,1717792175,1232252658,877777769,633172336,3707778928,2136497468,37116465",
    "Mod_1": "03",
    "Cfg_10": "Vehicles.Gun_Highcal_Damage_Multiplier=0.5",
    "Cfg_11": "Vehicles.Melee_Damage_Multiplier=0.001",
    "Cfg_12": "Vehicles.Melee_Repair_Multiplier=10000",
    "Cfg_13": "Vehicles.Max_Instances_Tiny=24",
    "Cfg_14": "Vehicles.Max_Instances_Small=32",
    "Cfg_15": "Vehicles.Max_Instances_Medium=42",
    "Cfg_16": "Vehicles.Max_Instances_Large=128",
    "Cfg_17": "Vehicles.Max_Instances_Insane=256",
    "Cfg_18": "Zombies.Spawn_Chance=0.3",
    "Cfg_19": "Zombies.Loot_Chance=0.33",
    "Cfg_20": "Zombies.Boss_Electric_Chance=0.001",
    "Cfg_21": "Zombies.Boss_Wind_Chance=0.001",
    "Cfg_22": "Zombies.Boss_Fire_Chance=0.001",
    "Cfg_23": "Zombies.Spirit_Chance=0.025",
    "Cfg_24": "Zombies.DL_Red_Volatile_Chance=0.015",
    "Cfg_25": "Zombies.DL_Blue_Volatile_Chance=0.015",
    "Cfg_26": "Zombies.Min_Mega_Drops=4",
    "Cfg_27": "Zombies.Max_Mega_Drops=7",
    "Cfg_28": "Zombies.Can_Target_Barricades=F",
    "Cfg_29": "Zombies.Can_Target_Structures=F",
    "Cfg_30": "Zombies.Beacon_Rewards_Multiplier=1.5",
    "Cfg_31": "Animals.Max_Instances_Tiny=256",
    "Cfg_32": "Animals.Max_Instances_Small=256",
    "Cfg_33": "Animals.Max_Instances_Medium=256",
    "Cfg_34": "Animals.Max_Instances_Large=256",
    "Cfg_35": "Animals.Max_Instances_Insane=256",
    "Cfg_36": "Barricades.Decay_Time=2592000",
    "Cfg_37": "Barricades.Armor_Lowtier_Multiplier=1E-05",
    "Cfg_38": "Barricades.Armor_Hightier_Multiplier=1E-05",
    "Cfg_39": "Barricades.Gun_Lowcal_Damage_Multiplier=0",
    "Cfg_40": "Barricades.Gun_Highcal_Damage_Multiplier=0",
    "Cfg_41": "Barricades.Max_Trap_Distance_From_Hull=2",
    "Cfg_42": "Structures.Decay_Time=2592000",
    "Cfg_43": "Structures.Armor_Lowtier_Multiplier=1E-05",
    "Cfg_44": "Structures.Armor_Hightier_Multiplier=1E-05",
    "Cfg_45": "Structures.Gun_Lowcal_Damage_Multiplier=0",
    "Cfg_46": "Structures.Gun_Highcal_Damage_Multiplier=0",
    "Cfg_47": "Structures.Melee_Damage_Multiplier=0",
    "Cfg_48": "Players.Lose_Skills_PvE=0.75",
    "Cfg_49": "Players.Lose_Clothes_PvP=F",
    "Cfg_50": "Players.Lose_Clothes_PvE=F",
    "Cfg_51": "Players.Lose_Weapons_PvE=F",
    "Cfg_52": "Players.Allow_Per_Character_Saves=T",
    "Cfg_53": "Objects.Allow_Holiday_Drops=F",
    "Cfg_54": "Events.Snow_Frequency_Min=2.3",
    "Cfg_55": "Events.Snow_Frequency_Max=5.6",
    "Cfg_56": "Events.Snow_Duration_Min=0.05",
    "Cfg_57": "Events.Snow_Duration_Max=0.15",
    "Cfg_58": "Events.Arena_Compactor_Damage=10",
    "Cfg_59": "Gameplay.Chart=T",
    "Cfg_60": "Gameplay.Bypass_Buildable_Mobility=T",
    "Cfg_61": "Gameplay.Timer_Exit=5",
    "Cfg_62": "Gameplay.Timer_Respawn=0",
    "Cfg_63": "Gameplay.Timer_Home=10",
    "Cfg_64": "Gameplay.Timer_Leave_Group=5",
    "Cfg_65": "Gameplay.Viewmodel_AimingMisalignmentMultiplier=1",
    "rocket": "4.9.3.18",
    "Cfg_Count": "66",
    "Mod_Count": "2",
    "listentype": "d",
    "environment": "w",
    "BookmarkHost": "",
    "a2s_protocol": 17,
    "rocketplugins": "AdminChat,AdminWarnings,CallVote,ChatControl,FeexExp,JoinLeaveMessages,Kits,LeeIzaZombie.ItemRestrictions,MessageAnnouncer,RocketMod_TPA,SalvageModifier,Votifier,Warps,WreckingBall,Yeeti Loader",
    "players_complete": true,
    "Browser_Desc_Hint": "24/7 Semi-vanilla survival!",
    "Browser_Desc_Full_Count": "2",
    "Browser_Desc_Full_Line_0": "V2VsY29tZSB0byBCbG9ja3NidXJnISBIYXZlIGZ1biBhbmQgZW5qb3kgeW91ciBzdGF5LiBGb3IgdGhlIGZ1bGwgbGlzdCBvZiBydWxlcywgcGxlYXNlIHZpc2l0IHR",
    "Browser_Desc_Full_Line_1": "oZSBEaXNjb3JkIHNlcnZlciEgaHR0cHM6Ly9kaXNjb3JkLmdnL01jeFR2dFY="
  }
}

Примеры кода

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