API für Musty Rust - Casual Experience
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 54,
"fps_avg": 53,
"entities_count": 70494,
"world_seed": 900797926,
"world_size": 3500,
"steam_id": "90287077963135001",
"domain": null,
"id": 11800871,
"ip": "163.245.195.74",
"port": 26070,
"query": 26071,
"project_id": null,
"color": 0,
"city": "Secaucus",
"description": "\nMusty Rust - Casual Experience \r\nRules: \r\n1. We're casual. We play by the rule that you value your life. \r\n2. No Offline Raiding. We have a mod in place and will enforce it. \r\n3. No Hostile Architecture. No honeycombs, or inverted roofs and no using items in ways they weren't intended to gain unfair advantages. \r\n4. No overly-aggressive PvP. It's fine to protect your territory/base, and raids need to escalate organically. \r\n \r\nWe have the server on a whitelist system. We have a Discord in the works to request access for those we're not directly affiliated with and will be opening up the doors after an extensive testing phase.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781568238,
"last_online": 1781586021,
"icon": null,
"name": "Musty Rust - Casual Experience",
"connect": "163.245.195.74:26070",
"request": "163.245.195.74:26071",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 9,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1781463033,
"last_update": 1781586021,
"banned": false,
"wipe": 1781568216,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1089,
"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/11800871");
$data = json_decode($json, true);
var_dump($data);