Rust
API für Battlecopters | Battlefield & Minicopter PVP / Minicopter Train
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9820374json
{
"response": {
"fps": 11,
"fps_avg": 10,
"entities_count": 100549,
"world_seed": 6738,
"world_size": 3500,
"steam_id": "90284749287661590",
"domain": null,
"id": 9820374,
"ip": "31.220.107.21",
"port": 28017,
"query": 28018,
"color": 0,
"city": "Phoenix",
"description": "\nMonthly | Weaponized Minicopters & Custom Clans | /ctop | \r\n> PRESS RELOAD BUTTON WHILE IN A MINICOPTER TO SWITCH WEAPONS \r\n> Tier 1&2 BPs unlocked\r\n> !info !discord !miniinfo !ctopinfo !\r\n> Next wipe: FORCE WIPE at 11am PST/2pm EST\r\n> /shop | Money never wipes! Sell scrap and other resources $$$\r\n> /ctop to check out our custom clan leaderboards! Ctop displays the 5 richest clans",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776795800,
"score": 0,
"last_online": 1776888020,
"icon": null,
"name": "Battlecopters | Battlefield & Minicopter PVP / Minicopter Train",
"connect": "31.220.107.21:28017",
"request": "31.220.107.21:28018",
"map": "Your Map Name",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1752781587,
"last_update": 1776888020,
"banned": false,
"wipe": 1775203282,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1708,
"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/9820374");
$data = json_decode($json, true);
var_dump($data);