Rust
API für SpartaPVE X2||Raidable Bases||Bosses||Events||Purge
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10869965json
{
"response": {
"fps": 104,
"fps_avg": 102,
"entities_count": 137709,
"world_seed": 1547997492,
"world_size": 4800,
"steam_id": "90284802321087508",
"domain": null,
"id": 10869965,
"ip": "45.14.185.18",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Sant'Agata",
"description": "\nServer PVE with PVP zones\r\nGathering X2\r\nRemoved junk from loot\r\nRaidable Bases\r\nEvents:\r\n- Bradley\r\n- Airfield e Harbor Event\r\n- Sputnick\r\n- Convoy\r\n- Armored Train\r\n- Cargo & Ch47 Crash\r\n- Survival Arena\r\n- Raid Npc\r\n- Abandoned Bases\r\n- Purge",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776846797,
"score": 0,
"last_online": 1776856220,
"icon": null,
"name": "SpartaPVE X2||Raidable Bases||Bosses||Events||Purge",
"connect": "45.14.185.18:28015",
"request": "45.14.185.18:28014",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "IT",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318379,
"last_update": 1776856220,
"banned": false,
"wipe": 1775829809,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4216,
"language": "it",
"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/10869965");
$data = json_decode($json, true);
var_dump($data);