Swords 'n Magic and Stuff
API für Mighty Gatekeeper
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10928878json
{
"response": {
"steam_id": "90284007130044445",
"domain": null,
"id": 10928878,
"ip": "192.169.85.98",
"port": 47011,
"query": 47013,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 810040,
"owner": null,
"boosts": 1,
"last_offline": 1768777319,
"score": 0,
"last_online": 1776351691,
"icon": null,
"name": "Mighty Gatekeeper",
"connect": "192.169.85.98:47011",
"request": "192.169.85.98:47013",
"map": "Tirawyn",
"gamemode": "Unreal Test!",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768481493,
"last_update": 1776351691,
"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": 10,
"language": "en",
"parked": false,
"app": {
"id": 47126,
"steam_id": 810040,
"name": "Swords 'n Magic and Stuff",
"url": "swords-n-magic-and-stuff"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10928878");
$data = json_decode($json, true);
var_dump($data);