API für Rust Horizon Battlegrounds modded x10 map
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6509800,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "![[US] RustRaid | Vanilla | Small | Biweekly](https://i.ibb.co/CtFCmSM/rust-bg.jpg)\nMap Size: 3500 \r\n Map Wipe: BiWeekly on Monday 3PM New York time \r\n BPs Wipe: Monthly on Monday 3PM New York time \r\n - NO Racism, Homophobia, Harassment or Excessive Toxicity \r\n - NO any form of cheats or hacking \r\n - NO Advertising or Spam \r\n \r\n Discord: https://discord.gg/KFKNNxZ52q | Or click VIEW WEBPAGE",
"game": 252490,
"owner": 91389,
"boosts": 1,
"last_offline": 1761198777,
"last_online": 1760320816,
"icon": null,
"name": "Rust Horizon Battlegrounds modded x10 map",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1730396249,
"last_update": 1761198777,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13200,
"language": "en",
"parked": true,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "zakupind",
"avatar": "080ecba1-e02e-474b-9f8d-f92ba11ffc2f.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/6509800");
$data = json_decode($json, true);
var_dump($data);