Rust
API für Friendly Seattle: No KOS | Chill | Noob Friendly
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8734790json
{
"response": {
"fps": 49,
"fps_avg": 49,
"entities_count": 315348,
"world_seed": 2015426701,
"world_size": 4250,
"steam_id": "90285075638301727",
"domain": null,
"id": 8734790,
"ip": "23.161.168.58",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nLAST WIPE: Thu 4/23 (Map+BPs) NEXT WIPE: Thu 5/7 (Map+BPs)\r\n★ Raidable Bases ★ Arenas with Kits ★ Team/Friends Auto-Auth\r\n★ Remover Tool (hammer @ outpost) ★ Increased stack sizes ★ 25% Upkeep\r\n★ For new or relaxed players ★ Player raids not the focus/no foundation wipes\r\n★ Limited PvP (Certain monuments/events/raids) ★ Active Admin\r\n★ Overly Toxic/aggressive behavior not tolerated\r\nSee Discord (friendlyseattle.com) for detailed rules/mods info",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777381400,
"score": 0,
"last_online": 1777437612,
"icon": null,
"name": "Friendly Seattle: No KOS | Chill | Noob Friendly",
"connect": "23.161.168.58:28015",
"request": "23.161.168.58:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 58,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1745853264,
"last_update": 1777437612,
"banned": false,
"wipe": 1776967565,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 142,
"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/8734790");
$data = json_decode($json, true);
var_dump($data);