API dla DE/GER Seelenernterinsel [PVE]
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 115902,
"world_seed": 1096314888,
"world_size": 4500,
"steam_id": "90286577049407515",
"domain": null,
"id": 10764333,
"ip": "31.214.245.55",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Münster",
"description": "![DE/GER Seelenernterinsel [PVE]](https://repository-images.githubusercontent.com/529473407/588d8cb2-8cd9-4d15-9468-2a508f12ba88)\nHerzlich Willkommen auf der Seelenernterinsel, deutschsprachig, freundliche Spieler, PVE, Carbon, hohe Instandhaltungsdauer, AntiOfflineRaid, Zombie Horden, Night Lantern, Levelsystem, Wirtschaftssystem, GUI Shop, Endless Cargo, grosse Stacks, Teleport zur Leiche und vieles mehr.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780584276,
"last_online": 1780623630,
"icon": null,
"name": "DE/GER Seelenernterinsel [PVE]",
"connect": "31.214.245.55:28015",
"request": "31.214.245.55:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766261047,
"last_update": 1780623630,
"banned": false,
"wipe": 1778369866,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3734,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10764333");
$data = json_decode($json, true);
var_dump($data);