API für Heavy Metal Rust PvE
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 79679,
"world_seed": 1236101577,
"world_size": 3800,
"steam_id": "90286705418657803",
"domain": null,
"id": 11771300,
"ip": "66.51.99.57",
"port": 28040,
"query": 28041,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\n-Player/Base protection turned on\r\n-Decrease hack crate times\r\n-Have fun and test builds\r\n-Learn the game\r\n-Ask questions\r\n-Be helpful\r\n-Daily restart @ 10a CT",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780996893,
"last_online": 1781046032,
"icon": null,
"name": "Heavy Metal Rust PvE",
"connect": "66.51.99.57:28040",
"request": "66.51.99.57:28041",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780996893,
"last_update": 1781046032,
"banned": false,
"wipe": 1780596449,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6145,
"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/11771300");
$data = json_decode($json, true);
var_dump($data);