Rust
API für [EU] HarkenPvP | PVP | SOLO/DUO | x2
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11305290json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 77564,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90285642754300955",
"domain": null,
"id": 11305290,
"ip": "51.91.36.114",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Roubaix",
"description": "![[EU] HarkenPvP | PVP | SOLO/DUO | x2](https://i.imgur.com/CynDayz.png)\nWELCOME TO OUR X2 ENHANCED RUST SERVER!\r\n\r\n• RESOURCES: x2 (Gathering, Mining, Wood)\r\n• LOOT: x2 Tables)\r\n• EVENTS: Unique custom events every week!\r\n• PERFORMANCE: High-performance hardware (Low Ping)\r\n• SECURITY: Active admins & enhanced Anti-Cheat\r\n• QOL: Faster smelting & shorter nights\r\n\r\nSTAY SHARP AND GOOD LUCK SURVIVING!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775213532,
"score": 0,
"last_online": 1778557223,
"icon": null,
"name": "[EU] HarkenPvP | PVP | SOLO/DUO | x2",
"connect": "51.91.36.114:28015",
"request": "51.91.36.114:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592882,
"last_update": 1778557223,
"banned": false,
"wipe": 1775212315,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4522,
"language": "fr",
"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/11305290");
$data = json_decode($json, true);
var_dump($data);