Tactical Operations
API для TacByte 01
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/819624json
{
"response": {
"steam_id": "90274115100412945",
"domain": null,
"id": 819624,
"ip": "89.163.162.202",
"port": 8177,
"query": 27018,
"color": 0,
"city": "Düsseldorf",
"description": "",
"game": 690980,
"owner": null,
"boosts": 1,
"last_offline": 1768641861,
"score": null,
"last_online": 1777432881,
"icon": null,
"name": "TacByte 01",
"connect": "89.163.162.202:8177",
"request": "89.163.162.202:27018",
"map": "MAP-Arena-preAIM",
"gamemode": "TO4: Tactical Operations",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684363537,
"last_update": 1777432881,
"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": 1,
"language": "de",
"parked": false,
"app": {
"id": 18225,
"steam_id": 690980,
"name": "Tactical Operations",
"url": "tactical-operations"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/819624");
$data = json_decode($json, true);
var_dump($data);