Rust
API für Bohemka.eu hosting - EU/CZ/SK
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10869969json
{
"response": {
"fps": 202,
"fps_avg": 200,
"entities_count": 82453,
"world_seed": 1476983220,
"world_size": 3750,
"steam_id": "90284793111140379",
"domain": null,
"id": 10869969,
"ip": "37.143.116.105",
"port": 26004,
"query": 26005,
"color": 0,
"city": "Prague",
"description": "\nFew mods to improve gameplay l Convoy, Train, Zombie at night | Stack 10x | Levels | Server powered by Bohemka.eu",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776825201,
"score": 0,
"last_online": 1776879023,
"icon": null,
"name": "Bohemka.eu hosting - EU/CZ/SK",
"connect": "37.143.116.105:26004",
"request": "37.143.116.105:26005",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318379,
"last_update": 1776879023,
"banned": false,
"wipe": 1775153461,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4381,
"language": "cs",
"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/10869969");
$data = json_decode($json, true);
var_dump($data);