API für Rust 2K | Solo Duo Trio Quad | Vanilla Biweekly
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 232,
"fps_avg": 231,
"entities_count": 43755,
"world_seed": 1337,
"world_size": 2950,
"steam_id": "90286604035236881",
"domain": null,
"id": 11159633,
"ip": "69.10.49.122",
"port": 28069,
"query": 28067,
"color": 0,
"city": "Secaucus",
"description": "\nWelcome to Rust 2K!\r\n\r\nMap wipes bi-weekly (next wipe: 6/18) | BP wipes monthly (next bp wipe: 7/2)\r\nMap Size Range: 2000 - 2950\r\nOutpost has Bandit merged into it\r\nServer restarts daily @ 6:45 AM ET\r\nJoin Us: discord.rust2k.com\r\n\r\n> Max Team Size: 4\r\n> Vanilla Rust\r\n\r\nRules:\r\n> No cheating/hacking\r\n> No exploiting or bug abuse\r\n> No toxicity\r\n\r\nActive, Non-Playing Admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778176987,
"last_online": 1780629627,
"icon": null,
"name": "Rust 2K | Solo Duo Trio Quad | Vanilla Biweekly",
"connect": "69.10.49.122:28069",
"request": "69.10.49.122:28067",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1772228135,
"last_update": 1780629627,
"banned": false,
"wipe": 1780596205,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1937,
"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/11159633");
$data = json_decode($json, true);
var_dump($data);