Tactical Operations
TacByte 05 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10150272json
{
"response": {
"steam_id": "90274115100729361",
"domain": null,
"id": 10150272,
"ip": "89.163.162.202",
"port": 8597,
"query": 27029,
"color": 0,
"city": "Düsseldorf",
"description": null,
"game": 690980,
"owner": null,
"boosts": 1,
"last_offline": 1768641862,
"score": 0,
"last_online": 1777433498,
"icon": null,
"name": "TacByte 05",
"connect": "89.163.162.202:8597",
"request": "89.163.162.202:27029",
"map": "MAP-TrainYard",
"gamemode": "TO4: Tactical Operations",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 14,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1756202941,
"last_update": 1777433498,
"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": 5,
"language": "de",
"parked": false,
"app": {
"id": 18225,
"steam_id": 690980,
"name": "Tactical Operations",
"url": "tactical-operations"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10150272");
$data = json_decode($json, true);
var_dump($data);