API für Shadow Rust
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 86,
"fps_avg": 78,
"entities_count": 76960,
"world_seed": 0,
"world_size": 3700,
"steam_id": "90286553869410326",
"domain": null,
"id": 11607325,
"ip": "172.240.53.131",
"port": 2018,
"query": 2019,
"color": 0,
"city": "Ashburn",
"description": "Rust as you've never experienced it\r\n\r\nFeatures:\r\n- Hardcore mode\r\n - Journey map\r\n - No team UI\r\n - Local chat only\r\n - No safe zones\r\n - Guns, ammo, explosives cannot be crafted or researched\r\n - No tech tree\r\n - No Rust+, contact system, crawling when wounded\r\n - MLRS disabled\r\n - Max 5 sleeping bags\r\n - Long respawn timers\r\n- Gather rates reduced (use /gather to see exact rates)\r\n- Offline raid protection (pay with scrap in TC)\r\n- Workbenches must be bought at outpost\r\n- Stack sizes reduced\r\n- Building decay halved\r\n- Slight changes to gun damage",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780485839,
"last_online": 1780549226,
"icon": null,
"name": "Shadow Rust",
"connect": "172.240.53.131:2018",
"request": "172.240.53.131:2019",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915503,
"last_update": 1780549226,
"banned": false,
"wipe": 1778368286,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5588,
"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/11607325");
$data = json_decode($json, true);
var_dump($data);