Team Fortress 2
API für █ BLW.TF EU | MGE █
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7397647json
{
"response": {
"steam_id": "85568392922108403",
"domain": null,
"id": 7397647,
"ip": "185.211.51.12",
"port": 27055,
"query": 27055,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1773545567,
"score": 0,
"last_online": 1775943663,
"icon": null,
"name": "█ BLW.TF EU | MGE █",
"connect": "185.211.51.12:27055",
"request": "185.211.51.12:27055",
"map": "mge_training_v8_beta4b",
"gamemode": "██ MGE ██",
"version": "10515055",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1737107948,
"last_update": 1775943663,
"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": 1178,
"language": "nl",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/7397647");
$data = json_decode($json, true);
var_dump($data);