API für RustyNation - 2x | Monthly | Trio/Quad | No BP WIpes *UPDATED*
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 35,
"fps_avg": 34,
"entities_count": 80054,
"world_seed": 1337,
"world_size": 3750,
"steam_id": "90286603967221773",
"domain": null,
"id": 11511565,
"ip": "91.229.114.55",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nRustyNation.net - High Performance Rust Servers\r\n\r\n2x Gather & Loot | Half Craft | Max 4 | Long Days & Short Nights | Monthly | Tier 1 BPs Unlocked\r\n\r\nWe're giving away $500 in Skins, check RustyNation.net for more info.\r\n\r\nServer wipes every first (force wipe) and last Thursday of the Month.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780598430,
"icon": null,
"name": "RustyNation - 2x | Monthly | Trio/Quad | No BP WIpes *UPDATED*",
"connect": "91.229.114.55:28015",
"request": "91.229.114.55:28017",
"map": "Wiped 48 Minutes ago",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779353854,
"last_update": 1780598430,
"banned": false,
"wipe": 1780595501,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2003,
"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/11511565");
$data = json_decode($json, true);
var_dump($data);