Enshrouded
API für TopDawgs Quest/Build Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/4949454json
{
"response": {
"steam_id": 90284744605377550,
"domain": null,
"id": 4949454,
"ip": "149.102.159.198",
"port": 29415,
"query": 29415,
"color": 0,
"city": "Portsmouth",
"description": null,
"game": 1203620,
"owner": null,
"boosts": 1,
"last_offline": 1773961919,
"score": 0,
"last_online": 1776795639,
"icon": null,
"name": "TopDawgs Quest/Build Server",
"connect": "149.102.159.198:29415",
"request": "149.102.159.198:29415",
"map": null,
"gamemode": "Enshrouded",
"version": "0.0.15.0",
"numplayers": 1,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1720113028,
"last_update": 1776795639,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 435,
"language": "en",
"parked": false,
"app": {
"id": 1611384,
"steam_id": 1203620,
"name": "Enshrouded",
"url": "enshrouded"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/4949454");
$data = json_decode($json, true);
var_dump($data);