Team Fortress 2 Classified
API для Глоток Свежего Воздуха [All Maps]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11015636json
{
"response": {
"steam_id": "90284948846888982",
"domain": null,
"id": 11015636,
"ip": "77.50.202.209",
"port": 27019,
"query": 27019,
"color": 0,
"city": "Moscow",
"description": null,
"game": 3545060,
"owner": null,
"boosts": 1,
"last_offline": 1774697546,
"score": 0,
"last_online": 1777127413,
"icon": null,
"name": "Глоток Свежего Воздуха [All Maps]",
"connect": "77.50.202.209:27019",
"request": "77.50.202.209:27019",
"map": "koth_badlands",
"gamemode": "Team Fortress",
"version": "5008",
"numplayers": 31,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1769943170,
"last_update": 1777127413,
"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": 13,
"language": "ru",
"parked": false,
"app": {
"id": 123,
"steam_id": 3545060,
"name": "Team Fortress 2 Classified",
"url": "team-fortress-2-classified"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11015636");
$data = json_decode($json, true);
var_dump($data);