Rust
API für Boat Building | Admin Menu | F1 Items | MedioTesting Staging
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11305121json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 59745,
"world_seed": 99999,
"world_size": 3000,
"steam_id": "90285044090262529",
"domain": null,
"id": 11305121,
"ip": "217.60.245.134",
"port": 28035,
"query": 28037,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nThis server is testing purpose only\r\n---------------------------\r\n- Behave nice\r\n- Don`t be a dick\r\n- Don`t try to do something that breaks server\r\n-------------------\r\nCreated and mainated by MediocratyItself",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777220006,
"score": 0,
"last_online": 1777321824,
"icon": null,
"name": "Boat Building | Admin Menu | F1 Items | MedioTesting Staging",
"connect": "217.60.245.134:28035",
"request": "217.60.245.134:28037",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2624",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592879,
"last_update": 1777321824,
"banned": false,
"wipe": 1774580922,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5012,
"language": "de",
"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/11305121");
$data = json_decode($json, true);
var_dump($data);