API для No Hope
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788602512,
"app": {
"id": 49,
"name": "7 Days to Die",
"steam_id": 251570,
"url": "7-days-to-die"
},
"color": 0,
"connect": "85.190.149.109:26300",
"country": "GB",
"domain": null,
"game": 251570,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 15119089,
"ip": "85.190.149.109",
"language": "en",
"last_update": 1794777295,
"map": "Pregen08k01",
"maxplayers": 8,
"name": "No Hope",
"numplayers": 0,
"official": null,
"points": 0,
"port": 26300,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 26300,
"request": "85.190.149.109:26300",
"secured": false,
"status": false,
"steam_id": "90296901189737475",
"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": 1794777295,
"last_online": 1794035084,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 4726,
"wipe_period": null,
"IP": "85.190.149.109",
"Ping": "-1",
"Port": "26300",
"Region": "Europe",
"SteamID": "90296901189737475",
"DayCount": "3",
"GameHost": "No Hope",
"GameMode": "Survival",
"GameName": "NO HOPE",
"GameType": "7DTD",
"IsPublic": "True",
"Language": "English",
"Platform": "WindowsPlayer",
"UniqueId": "3a858f375e8242aca7394253df63d9cd",
"JarRefund": "60",
"PlayGroup": "Standalone",
"StormFreq": "100",
"WorldSize": "8192",
"DropOnQuit": "0",
"EACEnabled": "True",
"MaxPlayers": "8",
"StockFiles": "True",
"ZombieMove": "0",
"ZombiesRun": "-1",
"listentype": "d",
"AISmellMode": "3",
"BuildCreate": "False",
"DropOnDeath": "1",
"IsDedicated": "True",
"MaxChunkAge": "-1",
"RequiresMod": "False",
"SandboxCode": "",
"environment": "w",
"DeathPenalty": "1",
"ModdedConfig": "False",
"XPMultiplier": "100",
"ZombieBMMove": "3",
"a2s_protocol": 17,
"AirDropMarker": "True",
"BlockDamageAI": "100",
"LandClaimSize": "51",
"LootAbundance": "100",
"SandboxPreset": "",
"ServerVersion": "V.3.40.10",
"StockSettings": "False",
"AllowCrossplay": "True",
"Architecture64": "True",
"BloodMoonRange": "0",
"CurrentPlayers": "0",
"DayLightLength": "18",
"DayNightLength": "60",
"EnemySpawnMode": "True",
"GameDifficulty": "-1",
"LandClaimCount": "5",
"BlockDamageAIBM": "100",
"EnemyDifficulty": "0",
"FreePlayerSlots": "8",
"LootRespawnDays": "7",
"ZombieFeralMove": "3",
"ZombieMoveNight": "3",
"AirDropFrequency": "3",
"BiomeProgression": "True",
"BloodMoonWarning": "1",
"CombinedNativeId": "",
"SanctionsIgnored": "False",
"ServerVisibility": "2",
"ServerWebsiteURL": "",
"ZombieFeralSense": "0",
"players_complete": true,
"BedrollExpiryTime": "45",
"BlockDamagePlayer": "100",
"CombinedPrimaryId": "EOS_0002cfed043e4a86895a5c364b32d5f6",
"CurrentServerTime": "764147",
"LandClaimDeadZone": "5",
"MaxSpawnedAnimals": "50",
"MaxSpawnedZombies": "10",
"PlayerKillingMode": "0",
"ServerDescription": "A 7 Days to Die server",
"BloodMoonFrequency": "7",
"LandClaimDecayMode": "2",
"BedrollDeadZoneSize": "15",
"BloodMoonEnemyCount": "8",
"IsPasswordProtected": "True",
"LandClaimExpiryTime": "30",
"AllowSpawnNearFriend": "0",
"PartySharedKillRange": "100",
"LandClaimOfflineDelay": "0",
"ShowFriendPlayerOnMap": "True",
"AllowSpawnNearBackpack": "True",
"BlockDurabilityModifier": "-1",
"QuestProgressionDailyLimit": "4",
"ServerLoginConfirmationText": "Welcome To The Server, Theres no HOPE........",
"LandClaimOnlineDurabilityModifier": "4",
"LandClaimOfflineDurabilityModifier": "4"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/15119089");
$data = json_decode($json, true);
var_dump($data);