API für The Realm of the Four Guardians
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 57,
"fps_avg": 57,
"entities_count": 119259,
"world_seed": 5231950,
"world_size": 4500,
"steam_id": "90286563710770191",
"domain": null,
"id": 11159815,
"ip": "66.51.96.56",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Ashburn",
"description": ".png)\nPVE 10X Stack 5X loot\r\nQuarry Levels Industrial Recycler Heli Calls\r\n\r\nCommands \r\nTeleport: /sethome <name> /home <name> /bandit /outpost Raidable Bases: /buyraid Removal Tool: /remove Skinbox: /skin Personal Heli: /mymini /myheli /myattack\r\n\r\nLong before the monuments of Rust were swallowed by sand and time, before the outposts rose and fell like dying stars, the world was divided into Four Realms — each fragile, each threatened by the creeping chaos known only as The Corrosion.\r\n\r\nWhen the realms cried out for protectors, fate answered not with armies, but with four mortals whose spirits burned brighter than any forge.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780633395,
"last_online": 1780565431,
"icon": null,
"name": "The Realm of the Four Guardians",
"connect": "66.51.96.56:28005",
"request": "66.51.96.56:28006",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772228140,
"last_update": 1780633395,
"banned": false,
"wipe": 1778188811,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10246,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11159815");
$data = json_decode($json, true);
var_dump($data);