Rust
API für Pine Hosting - Rust Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10533832json
{
"response": {
"fps": 90,
"fps_avg": 89,
"entities_count": 32088,
"world_seed": 456083485,
"world_size": 2500,
"steam_id": "90283833922039818",
"domain": null,
"id": 10533832,
"ip": "65.21.78.175",
"port": 28030,
"query": 28031,
"color": 0,
"city": "Helsinki",
"description": "\n10x BPs Loot++ gren energy no offline read GOOD LUCK ....ENJOY",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1774839727,
"score": 0,
"last_online": 1776831755,
"icon": null,
"name": "Pine Hosting - Rust Server",
"connect": "65.21.78.175:28030",
"request": "65.21.78.175:28031",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 400,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762518612,
"last_update": 1776831755,
"banned": false,
"wipe": 1775146213,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3702,
"language": "fi",
"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/10533832");
$data = json_decode($json, true);
var_dump($data);