Team Fortress 2
API для █ BLW.TF SG | HIGHERTOWERX | X1000 WEAPONS █
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11054597json
{
"response": {
"steam_id": "85568392922157414",
"domain": null,
"id": 11054597,
"ip": "15.235.165.144",
"port": 27090,
"query": 27090,
"color": 0,
"city": "Singapore",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1774934527,
"score": 0,
"last_online": 1775947833,
"icon": null,
"name": "█ BLW.TF SG | HIGHERTOWERX | X1000 WEAPONS █",
"connect": "15.235.165.144:27090",
"request": "15.235.165.144:27090",
"map": "plr_highertower_extended",
"gamemode": "TF2x1000 v1.7.4",
"version": "10515055",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769954981,
"last_update": 1775947833,
"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": 1765,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11054597");
$data = json_decode($json, true);
var_dump($data);