API для Blyatman
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792964076,
"app": {
"id": 48,
"name": "Unturned",
"steam_id": 304930,
"url": "unturned"
},
"color": 0,
"connect": "92.5.237.71:27015",
"country": "NL",
"domain": null,
"game": 304930,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19048839,
"ip": "92.5.237.71",
"language": "nl",
"last_update": 1793062427,
"map": "California2",
"maxplayers": 8,
"name": "Blyatman",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "92.5.237.71:27015",
"secured": false,
"status": true,
"steam_id": "85568392936574642",
"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": null,
"last_online": 1793062427,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1331,
"wipe_period": null,
"Cfg_0": "Items.Spawn_Chance=0.25",
"Cfg_1": "Items.Despawn_Dropped_Time=900",
"Cfg_2": "Items.Despawn_Natural_Time=900",
"Cfg_3": "Items.Respawn_Time=100",
"Cfg_4": "Items.Quality_Full_Chance=0.1",
"Cfg_5": "Zombies.Spawn_Chance=0.3",
"Cfg_6": "Animals.Respawn_Time=60",
"Cfg_7": "Animals.Damage_Multiplier=1",
"Cfg_8": "Animals.Armor_Multiplier=1",
"Cfg_9": "Animals.Max_Instances_Insane=100",
"Mod_0": "3707778928,3711646503",
"Cfg_10": "Players.Virus_Damage_Ticks=40",
"Cfg_11": "Players.Bleed_Damage_Ticks=40",
"Cfg_12": "Players.Detect_Radius_Multiplier=1.25",
"Cfg_13": "Players.Lose_Skills_PvP=1",
"Cfg_14": "Players.Lose_Skills_PvE=1",
"Cfg_15": "Players.Lose_Skill_Levels_PvP=0",
"Cfg_16": "Players.Lose_Skill_Levels_PvE=0",
"Cfg_17": "Players.Lose_Experience_PvP=0",
"Cfg_18": "Players.Lose_Experience_PvE=0",
"Cfg_19": "Players.Lose_Items_PvP=0",
"Cfg_20": "Players.Lose_Items_PvE=0",
"Cfg_21": "Players.Lose_Clothes_PvP=F",
"Cfg_22": "Players.Lose_Clothes_PvE=F",
"Cfg_23": "Players.Lose_Weapons_PvP=F",
"Cfg_24": "Players.Lose_Weapons_PvE=F",
"Cfg_25": "Gameplay.Bypass_Buildable_Mobility=T",
"Cfg_26": "Gameplay.Bypass_No_Building_Zones=T",
"Cfg_27": "Gameplay.Bypass_Building_In_Safezones=T",
"Cfg_28": "Gameplay.Enable_Fishing_Catch_Challenge=F",
"Cfg_29": "Gameplay.Timer_Exit=0",
"Cfg_30": "Gameplay.Timer_Respawn=0",
"Cfg_31": "Gameplay.Timer_Home=0",
"Cfg_32": "Gameplay.Min_Fishing_Bite_Interval=20",
"Cfg_33": "Gameplay.Max_Fishing_Bite_Interval=40",
"Cfg_Count": "34",
"Mod_Count": "1",
"listentype": "d",
"environment": "l",
"BookmarkHost": "",
"a2s_protocol": 17,
"rocketplugins": "",
"players_complete": true,
"Browser_Desc_Hint": ""
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19048839");
$data = json_decode($json, true);
var_dump($data);