Team Fortress 2
API für 24/7 Hightower || [SSG Australia]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11054610json
{
"response": {
"steam_id": "85568392932120314",
"domain": null,
"id": 11054610,
"ip": "202.128.116.136",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Sydney",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1774531920,
"score": 0,
"last_online": 1775943064,
"icon": null,
"name": "24/7 Hightower || [SSG Australia]",
"connect": "202.128.116.136:27016",
"request": "202.128.116.136:27016",
"map": "plr_hightower",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769954983,
"last_update": 1775943064,
"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": 1782,
"language": "en",
"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/11054610");
$data = json_decode($json, true);
var_dump($data);