Rust
API für SA Rust PVE 10X Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11190157json
{
"response": {
"fps": 189,
"fps_avg": 198,
"entities_count": 61930,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90284821198448642",
"domain": null,
"id": 11190157,
"ip": "102.182.189.107",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Cape Town",
"description": "\nLekker PVP 10x Rust Server - wipes bi-weekly\r\n- Satarter Base Kit, Starter Boat Kit.\r\n- Skinner, Building Skins.\r\n- Server Rewards, Gather Rewards, Playtime Reward.\r\n- Shop, Cases and Vehicle Buy`s.\r\n- Roaming NPC ( looting, gahtering)\r\n- Raiding NPC ( NPC raiding Bases)..\r\n- Armoured Train.\r\n- Heli Crash Event.\r\n- Train Yard Event.\r\n- Own Heli.\r\n- lots more mods in server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776867803,
"score": 0,
"last_online": 1776877827,
"icon": null,
"name": "SA Rust PVE 10X Server",
"connect": "102.182.189.107:28015",
"request": "102.182.189.107:28017",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699056,
"last_update": 1776877827,
"banned": false,
"wipe": 1776877666,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4917,
"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/11190157");
$data = json_decode($json, true);
var_dump($data);