Rust
API für AceRust.com 2x Monthly Solo/Duo/Trio/Quad|No BP Wipes|50% Upkee
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/760989json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 73845,
"world_seed": 1337,
"world_size": 3250,
"steam_id": "90284317906467842",
"domain": null,
"id": 760989,
"ip": "205.178.168.40",
"port": 28015,
"query": 28010,
"color": 0,
"city": "Dallas",
"description": "Welcome to Ace Rust, the heart of modded rust\r\n\r\n\\t - 2x Gather Rate\r\n\\t - Max Team: 4\r\n\\t - Custom Loot Tables\r\n\\t - Tier 1 BPs unlocked\r\n\\t - Recyclers at Dome, Oilrigs, Cargo & Fishing Villages\r\n\\t - Long Days & Short Nights\r\n\\t - Automated Teaming Detection\r\n\\t - Custom AntiCheat",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778123,
"score": null,
"last_online": 1776841224,
"icon": null,
"name": "AceRust.com 2x Monthly Solo/Duo/Trio/Quad|No BP Wipes|50% Upkee",
"connect": "205.178.168.40:28015",
"request": "205.178.168.40:28010",
"map": "Wiped - 19 Days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1680785231,
"last_update": 1776841224,
"banned": false,
"wipe": 1775151976,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2400,
"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/760989");
$data = json_decode($json, true);
var_dump($data);