API dla EmberFall PvE | SkillTree | Dungeons | Quests + More
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 115,
"fps_avg": 110,
"entities_count": 69843,
"world_seed": 616704838,
"world_size": 3500,
"steam_id": "90286604120707077",
"domain": null,
"id": 11606674,
"ip": "194.50.234.85",
"port": 28310,
"query": 28245,
"color": 0,
"city": "City of London",
"description": "\nFriendly place to build and have fun , Lots of fun plugins, if you wish to see what else is available join the discord for more info https://discord.gg/Bv5d3KkU",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780641025,
"icon": null,
"name": "EmberFall PvE | SkillTree | Dungeons | Quests + More",
"connect": "194.50.234.85:28310",
"request": "194.50.234.85:28245",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 6,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1779915478,
"last_update": 1780641025,
"banned": false,
"wipe": 1780596274,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1237,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11606674");
$data = json_decode($json, true);
var_dump($data);