API для The Litterbox Survival at NoIntegrity.Org
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1750585678,
"app": {
"id": 48,
"name": "Unturned",
"steam_id": 304930,
"url": "unturned"
},
"color": 0,
"connect": "47.181.143.84:32215",
"country": "US",
"domain": null,
"game": 304930,
"hide_address": false,
"hide_query": false,
"icon": "https://www.nointegrity.org/wp-content/uploads/2021/08/niocircle-e1705869105232.png",
"id": 9558244,
"ip": "47.181.143.84",
"language": "en",
"last_update": 1794972124,
"map": "Washington",
"maxplayers": 24,
"name": "The Litterbox Survival at NoIntegrity.Org",
"numplayers": 0,
"official": null,
"points": 30,
"port": 32215,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 32215,
"request": "47.181.143.84:32215",
"secured": true,
"status": true,
"steam_id": "85568392930810529",
"version": "3.26.3.15",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Окснард",
"description": null,
"disabled_modules": [],
"gamemode": "Semi-vanilla with HOME and TPA.",
"hidden": false,
"last_offline": 1790781870,
"last_online": 1794972124,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 260,
"wipe_period": null,
"Cfg_0": "Zombies.Max_Mega_Drops=15",
"Cfg_1": "Zombies.Min_Boss_Drops=15",
"Cfg_2": "Zombies.Max_Boss_Drops=25",
"Cfg_3": "Players.Lose_Skills_PvP=0.75",
"Cfg_4": "Players.Lose_Skills_PvE=0.75",
"Cfg_5": "Players.Spawn_With_Max_Skills=T",
"Cfg_6": "Players.Spawn_With_Stamina_Skills=T",
"Cfg_7": "Players.Allow_Per_Character_Saves=T",
"Cfg_8": "Gameplay.FirstPerson_AimingZoomRecoilReduction=0",
"Cfg_9": "Gameplay.ThirdPerson_RecoilMultiplier=2",
"Mod_0": "3036760823,1232252658",
"Cfg_10": "Gameplay.ThirdPerson_SpreadMultiplier=2",
"Cfg_11": "Gameplay.Viewmodel_AimingMisalignmentMultiplier=1",
"rocket": "4.9.3.18",
"Cfg_Count": "12",
"Mod_Count": "1",
"listentype": "d",
"environment": "l",
"BookmarkHost": "",
"a2s_protocol": 17,
"rocketplugins": "Duty,Feli.RocketMod.Teleporting,GlobalBan,JoinLeaveMessages,MoreHomes,NoIntegrity,RFDeathMessage,RichAnnouncer,WebsiteCommands,do53PlayerReporting",
"players_complete": true,
"Browser_Desc_Hint": "<color=#3498eb>Semi-vanilla with HOME and TPA.</color>",
"Browser_Desc_Full_Count": "1",
"Browser_Desc_Full_Line_0": "V2VsY29tZSB0byBUaGUgTGl0dGVyYm94IHNlcmllcyBvZiBVbnR1cm5lZCBzZXJ2ZXJzIGxvY2F0ZWQgaW4gYmVhdXRpZnVsIFNvdXRoZXJuIENhbGlmb3JuaWEh"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9558244");
$data = json_decode($json, true);
var_dump($data);