API для UN-california2
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792343294,
"app": {
"id": 48,
"name": "Unturned",
"steam_id": 304930,
"url": "unturned"
},
"color": 0,
"connect": "82.67.231.40:27039",
"country": "FR",
"domain": null,
"game": 304930,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18633714,
"ip": "82.67.231.40",
"language": "fr",
"last_update": 1793051540,
"map": "California2",
"maxplayers": 10,
"name": "UN-california2",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27039,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27039,
"request": "82.67.231.40:27039",
"secured": true,
"status": false,
"steam_id": "85568392936876890",
"version": "3.26.3.13",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Париж",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1793051540,
"last_online": 1793040820,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 5346,
"wipe_period": null,
"Cfg_0": "Items.Spawn_Chance=0.35",
"Cfg_1": "Items.Despawn_Natural_Time=2700",
"Cfg_2": "Items.Respawn_Time=100",
"Cfg_3": "Items.Quality_Full_Chance=0.1",
"Cfg_4": "Items.Quality_Multiplier=1",
"Cfg_5": "Items.Gun_Bullets_Full_Chance=0.05",
"Cfg_6": "Items.Gun_Bullets_Multiplier=0.25",
"Cfg_7": "Items.Magazine_Bullets_Full_Chance=0.05",
"Cfg_8": "Items.Magazine_Bullets_Multiplier=0.5",
"Cfg_9": "Items.Crate_Bullets_Full_Chance=0.05",
"Mod_0": "3707778928,3711646503",
"Cfg_10": "Items.Crate_Bullets_Multiplier=1",
"Cfg_11": "Items.Weapons_Spawn_At_Full_Quality=F",
"Cfg_12": "Vehicles.Has_Battery_Chance=0.8",
"Cfg_13": "Vehicles.Min_Battery_Charge=0.5",
"Cfg_14": "Vehicles.Max_Battery_Charge=0.75",
"Cfg_15": "Vehicles.Has_Tire_Chance=0.85",
"Cfg_16": "Zombies.Spawn_Chance=0.25",
"Cfg_17": "Zombies.Loot_Chance=0.5",
"Cfg_18": "Zombies.Crawler_Chance=0.15",
"Cfg_19": "Zombies.Sprinter_Chance=0.15",
"Cfg_20": "Zombies.Flanker_Chance=0.025",
"Cfg_21": "Zombies.Burner_Chance=0.025",
"Cfg_22": "Zombies.Acid_Chance=0.025",
"Cfg_23": "Zombies.Boss_Electric_Chance=0",
"Cfg_24": "Zombies.Boss_Wind_Chance=0",
"Cfg_25": "Zombies.Boss_Fire_Chance=0",
"Cfg_26": "Zombies.Boss_Elver_Stomper_Chance=0",
"Cfg_27": "Zombies.Boss_Kuwait_Chance=0",
"Cfg_28": "Zombies.Respawn_Day_Time=360",
"Cfg_29": "Zombies.Damage_Multiplier=1",
"Cfg_30": "Zombies.Armor_Multiplier=1",
"Cfg_31": "Zombies.NonHeadshot_Armor_Multiplier=1",
"Cfg_32": "Zombies.Max_Drops=1",
"Cfg_33": "Zombies.Min_Mega_Drops=5",
"Cfg_34": "Zombies.Max_Mega_Drops=5",
"Cfg_35": "Zombies.Min_Boss_Drops=8",
"Cfg_36": "Zombies.Max_Boss_Drops=10",
"Cfg_37": "Zombies.Slow_Movement=F",
"Cfg_38": "Zombies.Can_Stun=T",
"Cfg_39": "Zombies.Only_Critical_Stuns=F",
"Cfg_40": "Animals.Damage_Multiplier=1",
"Cfg_41": "Animals.Armor_Multiplier=1",
"Cfg_42": "Players.Health_Regen_Ticks=60",
"Cfg_43": "Players.Food_Use_Ticks=300",
"Cfg_44": "Players.Water_Use_Ticks=270",
"Cfg_45": "Players.Experience_Multiplier=1",
"Cfg_46": "Players.Detect_Radius_Multiplier=1",
"Cfg_47": "Players.Lose_Skill_Levels_PvP=1",
"Cfg_48": "Players.Lose_Skill_Levels_PvE=1",
"Cfg_49": "Players.Skill_Cost_Multiplier=5",
"Cfg_50": "Players.Can_Break_Legs=T",
"Cfg_51": "Players.Can_Fix_Legs=T",
"Cfg_52": "Players.Can_Start_Bleeding=T",
"Cfg_53": "Players.Can_Stop_Bleeding=T",
"Cfg_54": "Players.Prevent_Level_Skill_Overrides=T",
"Cfg_55": "Players.Allow_Instakill_Headshots=F",
"Cfg_56": "Events.Airdrop_Frequency_Min=0.4",
"Cfg_57": "Events.Airdrop_Frequency_Max=2",
"Cfg_58": "Events.Use_Airdrops=T",
"Cfg_59": "Gameplay.Hitmarkers=T",
"Cfg_60": "Gameplay.Crosshair=T",
"Cfg_61": "Gameplay.Ballistics=T",
"Cfg_62": "Gameplay.Satellite=T",
"Cfg_63": "Gameplay.Group_Map=T",
"Cfg_64": "Gameplay.Friendly_Fire=F",
"Cfg_Count": "65",
"Mod_Count": "1",
"listentype": "d",
"environment": "l",
"BookmarkHost": "",
"a2s_protocol": 17,
"rocketplugins": "Unturned Map Manager",
"players_complete": true,
"Browser_Desc_Hint": ""
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18633714");
$data = json_decode($json, true);
var_dump($data);