Team Fortress 2 Classified
API для [TR] Aeonland | Fast Respawn | Custom Weapons
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11139158json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11139158,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Istanbul",
"description": "[{\"id\":\"ZW1emAEGRn\",\"type\":\"paragraph\",\"data\":{\"text\":\"Turkish TF2 Classified server featuring custom weapons and faster respawn times\"}}]",
"game": 3545060,
"owner": 165864,
"boosts": 1,
"last_offline": 1771537860,
"score": 0,
"last_online": 1770673257,
"icon": null,
"name": "[TR] Aeonland | Fast Respawn | Custom Weapons",
"connect": null,
"request": null,
"map": "ctf_2fort",
"gamemode": "Team Fortress",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "TR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770653416,
"last_update": 1771537860,
"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": 202,
"language": "tr",
"parked": true,
"app": {
"id": 123,
"steam_id": 3545060,
"name": "Team Fortress 2 Classified",
"url": "team-fortress-2-classified"
},
"server_owner": {
"username": "mysteriousaeon",
"avatar": "43038ced-47de-4918-8c27-b9376513c33b.jpg",
"last_online": 1770676224
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11139158");
$data = json_decode($json, true);
var_dump($data);