Rust
API für Rustside
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/4666352json
{
"response": {
"fps": 218,
"fps_avg": 217,
"entities_count": 54056,
"world_seed": 0,
"world_size": 3300,
"steam_id": "90284736738909184",
"domain": null,
"id": 4666352,
"ip": "98.128.174.153",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Gothenburg",
"description": "\nWelcome to a Solo Rustside experience!\r\n\r\n- Monthly map wipe\r\n- No BP wipe\r\n- MORE CLOTH drop\r\n- NPC drop weapons (low durability)\r\n- New player raid protection (12h in-game, 3 days offline)\r\nEnjoy your stay!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775757726,
"score": 0,
"last_online": 1776885021,
"icon": null,
"name": "Rustside",
"connect": "98.128.174.153:28015",
"request": "98.128.174.153:28017",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2623",
"numplayers": 1,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1717669090,
"last_update": 1776885021,
"banned": false,
"wipe": 1775503042,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3244,
"language": "sv",
"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/4666352");
$data = json_decode($json, true);
var_dump($data);