API для International Zombie Survival
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1785496947,
"app": {
"id": 49,
"name": "7 Days to Die",
"steam_id": 251570,
"url": "7-days-to-die"
},
"color": 0,
"connect": "51.222.255.223:31320",
"country": "CA",
"domain": null,
"game": 251570,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13114664,
"ip": "51.222.255.223",
"language": "en",
"last_update": 1793053144,
"map": "West Arika Valley",
"maxplayers": 8,
"name": "International Zombie Survival",
"numplayers": 0,
"official": null,
"points": 30,
"port": 31320,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 31320,
"request": "51.222.255.223:31320",
"secured": false,
"status": true,
"steam_id": "90295866149297180",
"version": "01.03.40",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Монреаль",
"description": null,
"disabled_modules": [],
"gamemode": "7 Days To Die",
"hidden": false,
"last_offline": 1792797827,
"last_online": 1793053144,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 4786,
"wipe_period": null,
"IP": "51.222.255.223",
"Ping": "-1",
"Port": "31320",
"Region": "NorthAmericaEast",
"SteamID": "90295866149297180",
"DayCount": "3",
"GameHost": "International Zombie Survival",
"GameMode": "Survival",
"GameName": "MyGame",
"GameType": "7DTD",
"IsPublic": "True",
"Language": "English",
"Platform": "LinuxServer",
"UniqueId": "f42806a4ed254191beb96e64df887730",
"JarRefund": "0",
"PlayGroup": "Standalone",
"StormFreq": "0",
"WorldSize": "4096",
"DropOnQuit": "0",
"EACEnabled": "True",
"MaxPlayers": "8",
"StockFiles": "True",
"ZombieMove": "0",
"ZombiesRun": "-1",
"listentype": "d",
"AISmellMode": "2",
"BuildCreate": "False",
"DropOnDeath": "0",
"IsDedicated": "True",
"MaxChunkAge": "-1",
"RequiresMod": "False",
"SandboxCode": "AAAKABKACKADDARDAYDBBAGHLAUAAMABGBAOBBJEBMDBNCBOACEACAFCFACHFCOHDMFDAKDBKDCKDDJDFNDJNDLODTCAVCEXGFEEFIEFHBFFKETKFOB",
"environment": "l",
"DeathPenalty": "1",
"ModdedConfig": "False",
"XPMultiplier": "100",
"ZombieBMMove": "3",
"a2s_protocol": 17,
"AirDropMarker": "True",
"BlockDamageAI": "25",
"LandClaimSize": "41",
"LootAbundance": "200",
"SandboxPreset": "",
"ServerVersion": "V.3.40.6",
"StockSettings": "False",
"AllowCrossplay": "True",
"Architecture64": "True",
"BloodMoonRange": "0",
"CurrentPlayers": "2",
"DayLightLength": "18",
"DayNightLength": "120",
"EnemySpawnMode": "True",
"GameDifficulty": "-1",
"LandClaimCount": "20",
"BlockDamageAIBM": "100",
"EnemyDifficulty": "0",
"FreePlayerSlots": "6",
"LootRespawnDays": "7",
"ZombieFeralMove": "3",
"ZombieMoveNight": "4",
"AirDropFrequency": "5",
"BiomeProgression": "True",
"BloodMoonWarning": "1",
"CombinedNativeId": "",
"SanctionsIgnored": "False",
"ServerVisibility": "2",
"ServerWebsiteURL": "",
"ZombieFeralSense": "3",
"players_complete": true,
"BedrollExpiryTime": "45",
"BlockDamagePlayer": "200",
"CombinedPrimaryId": "EOS_0002071ffbf3433db136b9b43d6fdcfb",
"CurrentServerTime": "20327911",
"LandClaimDeadZone": "0",
"MaxSpawnedAnimals": "100",
"MaxSpawnedZombies": "64",
"PlayerKillingMode": "0",
"ServerDescription": "Earthlings coming together around the world to survive the Zombie Apocalypse!",
"BloodMoonFrequency": "7",
"LandClaimDecayMode": "2",
"BedrollDeadZoneSize": "15",
"BloodMoonEnemyCount": "8",
"IsPasswordProtected": "True",
"LandClaimExpiryTime": "0",
"AllowSpawnNearFriend": "2",
"PartySharedKillRange": "10000",
"LandClaimOfflineDelay": "0",
"ShowFriendPlayerOnMap": "True",
"AllowSpawnNearBackpack": "True",
"BlockDurabilityModifier": "-1",
"QuestProgressionDailyLimit": "10",
"ServerLoginConfirmationText": "",
"LandClaimOnlineDurabilityModifier": "0",
"LandClaimOfflineDurabilityModifier": "0"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13114664");
$data = json_decode($json, true);
var_dump($data);