Team Fortress 2 Classified
API für Qnz' Questionable Ethics #2 | US | Custom Weapons! | Questionab
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11015709json
{
"response": {
"steam_id": "90284589486327824",
"domain": null,
"id": 11015709,
"ip": "208.84.101.12",
"port": 27026,
"query": 27026,
"color": 0,
"city": "North Kansas City",
"description": null,
"game": 3545060,
"owner": null,
"boosts": 1,
"last_offline": 1775083331,
"score": 0,
"last_online": 1776597620,
"icon": null,
"name": "Qnz' Questionable Ethics #2 | US | Custom Weapons! | Questionab",
"connect": "208.84.101.12:27026",
"request": "208.84.101.12:27026",
"map": "koth_databank_rc3_qnz",
"gamemode": "Team Fortress",
"version": "5008",
"numplayers": 14,
"maxplayers": 28,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 1,
"points": 62,
"add_date": 1769943178,
"last_update": 1776597620,
"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": 18,
"language": "en",
"parked": false,
"app": {
"id": 123,
"steam_id": 3545060,
"name": "Team Fortress 2 Classified",
"url": "team-fortress-2-classified"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11015709");
$data = json_decode($json, true);
var_dump($data);