Rust
API für RustGalaxy Nexus Zurich
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9662697json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 99645,
"world_seed": 156410959,
"world_size": 4250,
"steam_id": "90284390912651268",
"domain": null,
"id": 9662697,
"ip": "103.63.30.134",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Zurich",
"description": "\nRustGalaxy: The Original Nexus Network! Dial any of our 17 global servers via the Outpost telephone and seamlessly transfer with your inventory. Facepunch promised it, we delivered. No lag, no cheaters. Just pure survival across continents.\r\n\r\nMonthly map and blueprint wipes.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776227513,
"score": 0,
"last_online": 1776228668,
"icon": null,
"name": "RustGalaxy Nexus Zurich",
"connect": "103.63.30.134:28015",
"request": "103.63.30.134:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CH",
"status": true,
"votes": 0,
"points": 0,
"add_date": 1751634335,
"last_update": 1776228668,
"banned": false,
"wipe": 1775152216,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8471,
"language": "de",
"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/9662697");
$data = json_decode($json, true);
var_dump($data);