Rust
API für The Hempire Medium | No BP wipe | Low Upkeep | Quads
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10978578json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 101879,
"world_seed": 1337,
"world_size": 4300,
"steam_id": "90285467451843607",
"domain": null,
"id": 10978578,
"ip": "109.134.74.85",
"port": 29015,
"query": 29017,
"color": 0,
"city": "Antwerp",
"description": "\nLow Upkeep (10%) | Vanilla | Bimonthly BP Wipes (even months) | Max Team: 4 | Daily Restart @ 4:20 AM\r\n\r\nA relaxed quad-friendly vanilla ride — low decay, room to grow, and team rules enforced so your raid was fair.\r\n\r\nLive stats, news & active admins.\r\n\r\nMay the horse be with you.\r\nClick (External Website) for more info!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778176386,
"score": 0,
"last_online": 1778189419,
"icon": null,
"name": "The Hempire Medium | No BP wipe | Low Upkeep | Quads",
"connect": "109.134.74.85:29015",
"request": "109.134.74.85:29017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2624",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "BE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769900982,
"last_update": 1778189419,
"banned": false,
"wipe": 1778176575,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3837,
"language": "nl",
"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/10978578");
$data = json_decode($json, true);
var_dump($data);