API für [AU] RustWars: WWII in Rust (In Development)
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 96,
"world_seed": 1337,
"world_size": 1250,
"steam_id": "90286565111142431",
"domain": null,
"id": 11677629,
"ip": "51.161.198.101",
"port": 28005,
"query": 28006,
"color": 0,
"city": "North Sydney",
"description": "![[AU] RustWars: WWII in Rust (In Development)](https://www.dropbox.com/scl/fi/zd3at6djy8lucd55tdbwt/1.jpg?rlkey=1bu70jh601vnl76wwkieqxr89&st=jxlki26y&raw=1)\nHome of the only true WWII server in Rust - Team VS Team, Gun Game, FFA gamemodes filled with objectives, classes, level-up and reward systems.\r\nJoin our discord for updates and to stay connected: https://discord.gg/tW3Pap7fvu",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780216217,
"last_online": 1780575641,
"icon": null,
"name": "[AU] RustWars: WWII in Rust (In Development)",
"connect": "51.161.198.101:28005",
"request": "51.161.198.101:28006",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780216217,
"last_update": 1780575641,
"banned": false,
"wipe": 1780240735,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5922,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/11677629");
$data = json_decode($json, true);
var_dump($data);