Rust
API für [FR] Team LAN - Linux
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11305322json
{
"response": {
"fps": 20,
"fps_avg": 20,
"entities_count": 139605,
"world_seed": 1155182824,
"world_size": 5000,
"steam_id": "90284718806684674",
"domain": null,
"id": 11305322,
"ip": "51.91.189.28",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776549802,
"score": 0,
"last_online": 1776821522,
"icon": null,
"name": "[FR] Team LAN - Linux",
"connect": "51.91.189.28:28015",
"request": "51.91.189.28:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774592883,
"last_update": 1776821522,
"banned": false,
"wipe": 1775151845,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7345,
"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/11305322");
$data = json_decode($json, true);
var_dump($data);