API für A Shockbyte x Discord Production Rust Server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 240,
"fps_avg": 239,
"entities_count": 6734,
"world_seed": 50000,
"world_size": 1500,
"steam_id": "90286591425856514",
"domain": null,
"id": 11731526,
"ip": "51.38.155.200",
"port": 26664,
"query": 26665,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780493042,
"last_online": 1780583599,
"icon": null,
"name": "A Shockbyte x Discord Production Rust Server",
"connect": "51.38.155.200:26664",
"request": "51.38.155.200:26665",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 149,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780411263,
"last_update": 1780583599,
"banned": false,
"wipe": 1780493256,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10016,
"language": "pl",
"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/11731526");
$data = json_decode($json, true);
var_dump($data);