API для [EU] Ephio | Nirvana Wasteland | Early Beta
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 162,
"fps_avg": 158,
"entities_count": 98184,
"world_seed": 6969,
"world_size": 4250,
"steam_id": "90287029837782029",
"domain": null,
"id": 11781660,
"ip": "198.244.225.14",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "London",
"description": "New server from Ephio - Axiom Lattice\r\nAlmost ready for launch.\r\nFeel free to play but expect bugs\r\n(And possible restarts), \r\nFeatures Custom Plugins:\r\nScrap for Base Protection\r\nSulfur for Base Shield\r\nRandom Base/Loot/Npc Spawns, \r\nIt is using the new Navmesh system, \r\nJoin our discord if you have any issues:\r\nhttps://discord.gg/ZmWyjM5qcX",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781478845,
"last_online": 1781479380,
"icon": null,
"name": "[EU] Ephio | Nirvana Wasteland | Early Beta",
"connect": "198.244.225.14:28015",
"request": "198.244.225.14:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 0,
"add_date": 1781376780,
"last_update": 1781479380,
"banned": false,
"wipe": 1781479015,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12868,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11781660");
$data = json_decode($json, true);
var_dump($data);