API für Midwest Staging Server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 107,
"fps_avg": 106,
"entities_count": 109953,
"world_seed": 1996107046,
"world_size": 4000,
"steam_id": "90286435061941257",
"domain": null,
"id": 1915693,
"ip": "216.245.176.210",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nVisit our Discord for the full rules and info by pressing 'View Webpage'\r\nNo VPNs permitted without Whitelist through Discord\r\nNo VAC/Game bans under 365 days | 3 or more not allowed",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779389623,
"last_online": 1780266634,
"icon": null,
"name": "Midwest Staging Server",
"connect": "216.245.176.210:28015",
"request": "216.245.176.210:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1700734244,
"last_update": 1780266634,
"banned": false,
"wipe": 1779978585,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3078,
"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/1915693");
$data = json_decode($json, true);
var_dump($data);