Rust
API für EndraRust ~
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7175095json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 43910,
"world_seed": 27,
"world_size": 2750,
"steam_id": "90283762406645776",
"domain": null,
"id": 7175095,
"ip": "91.229.114.122",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nWelcome To The Slaughter Servers 2x Weekly Trio\r\nThis server wipes Thursdays at 2pm EST\r\n\r\n✔ Group Limit: 3\r\n✔ 2x Gather Rates\r\n✔ 2x Components and Scrap\r\n✔ 2x Crafting\r\n✔ 2x Recycling\r\n✔ 2x Smelting\r\n✔ Night Vote\r\n✔ Trades\r\n✔ Active Admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776820396,
"score": 0,
"last_online": 1776840623,
"icon": null,
"name": "EndraRust ~",
"connect": "91.229.114.122:28015",
"request": "91.229.114.122:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1736279795,
"last_update": 1776840623,
"banned": false,
"wipe": 1772767002,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2947,
"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/7175095");
$data = json_decode($json, true);
var_dump($data);