Rust
API für 25x Edmonton Alberta Eh - Builder's Paradise x25
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10556919json
{
"response": {
"fps": 31,
"fps_avg": 30,
"entities_count": 159003,
"world_seed": 444563790,
"world_size": 3333,
"steam_id": "90285216412313602",
"domain": null,
"id": 10556919,
"ip": "199.126.96.233",
"port": 28117,
"query": 28115,
"color": 0,
"city": "Chestermere",
"description": "\nOne of the most fun servers to play on! Lots of events, rich in loot, /noclip to build and Raid Protection",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777649595,
"score": 0,
"last_online": 1777695619,
"icon": null,
"name": "25x Edmonton Alberta Eh - Builder's Paradise x25",
"connect": "199.126.96.233:28117",
"request": "199.126.96.233:28115",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1762533063,
"last_update": 1777695619,
"banned": false,
"wipe": 1775153530,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1799,
"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/10556919");
$data = json_decode($json, true);
var_dump($data);