API für Kingdoms of RUST 2X|RP/PVP|Rewards|NPC Bases
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 106,
"fps_avg": 103,
"entities_count": 62277,
"world_seed": 761980539,
"world_size": 3500,
"steam_id": "90286603793161235",
"domain": null,
"id": 3388030,
"ip": "216.245.177.28",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Chicago",
"description": "\nWelcome to Kingdoms of RUST! \r\n*PVE/PVP/RP \r\n*Events \r\n*Custom City \r\n*NPC Raidable Bases\r\n*Rewards",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780605036,
"icon": null,
"name": "Kingdoms of RUST 2X|RP/PVP|Rewards|NPC Bases",
"connect": "216.245.177.28:28025",
"request": "216.245.177.28:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1710347330,
"last_update": 1780605036,
"banned": false,
"wipe": 1780595495,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3188,
"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/3388030");
$data = json_decode($json, true);
var_dump($data);