Team Fortress 2
API для █ BLW.TF SG | ORANGE | X100 WEAPONS | 100% CRITS █
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11070432json
{
"response": {
"steam_id": "85568392921290725",
"domain": null,
"id": 11070432,
"ip": "15.235.165.144",
"port": 27050,
"query": 27050,
"color": 0,
"city": "Singapore",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1769972778,
"score": 0,
"last_online": 1778545855,
"icon": null,
"name": "█ BLW.TF SG | ORANGE | X100 WEAPONS | 100% CRITS █",
"connect": "15.235.165.144:27050",
"request": "15.235.165.144:27050",
"map": "cp_orange_50f_tower_v7",
"gamemode": "TF2x100 v1.7.4",
"version": "10515055",
"numplayers": 1,
"maxplayers": 32,
"bots": 15,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1769972778,
"last_update": 1778545855,
"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": 282,
"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/11070432");
$data = json_decode($json, true);
var_dump($data);