Rust
API für Pirates Cove 3X Raidable Bases PVP Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5234375json
{
"response": {
"fps": 65,
"fps_avg": 65,
"entities_count": 93928,
"world_seed": 202512202,
"world_size": 4096,
"steam_id": "90284506792158236",
"domain": null,
"id": 5234375,
"ip": "45.45.238.201",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Chicago",
"description": "Welcome to PIRATESCOVERUST, We are a 3x Custom Map server with many special feature and fun things to do. Check our website for more info.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776322870,
"score": 0,
"last_online": 1776510622,
"icon": null,
"name": "Pirates Cove 3X Raidable Bases PVP Server",
"connect": "45.45.238.201:28080",
"request": "45.45.238.201:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1721207746,
"last_update": 1776510622,
"banned": false,
"wipe": 1775357119,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3309,
"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/5234375");
$data = json_decode($json, true);
var_dump($data);