Swords 'n Magic and Stuff
API für Official Kindred Games Server - EU
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5902144json
{
"response": {
"steam_id": "90283992399825937",
"domain": null,
"id": 5902144,
"ip": "208.115.206.98",
"port": 47011,
"query": 47013,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 810040,
"owner": null,
"boosts": 1,
"last_offline": 1776187319,
"score": 0,
"last_online": 1776352344,
"icon": null,
"name": "Official Kindred Games Server - EU",
"connect": "208.115.206.98:47011",
"request": "208.115.206.98:47013",
"map": "Tirawyn",
"gamemode": "Unreal Test!",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1725969703,
"last_update": 1776352344,
"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": 3,
"language": "de",
"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/5902144");
$data = json_decode($json, true);
var_dump($data);