API für Havoc Rust 10x
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 18,
"fps_avg": 14,
"entities_count": 85036,
"world_seed": 47330502,
"world_size": 3700,
"steam_id": "90286989833040916",
"domain": null,
"id": 11782078,
"ip": "66.51.98.61",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Los Angeles",
"description": "\n- 10X Gather\r\n - 24/7 Admin Support\r\n - D DOS Protection\r\n - Weekly Wipe\r\n- Custom Events\r\n- Clans ( Max 8 )\r\n- No BP's\r\n-Discord HAVOC RUST\r\nhttps://discord.gg/rm4GK2PS7\r\n-No Teaming",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781376799,
"last_online": 1781477423,
"icon": null,
"name": "Havoc Rust 10x",
"connect": "66.51.98.61:28015",
"request": "66.51.98.61:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 5,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1781376799,
"last_update": 1781477423,
"banned": false,
"wipe": 1781288090,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1929,
"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/11782078");
$data = json_decode($json, true);
var_dump($data);