Team Fortress 2 Classified
API для Tricorn Darkly | FAST RESPAWN | TF2C.com
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11118263json
{
"response": {
"steam_id": "90283404167267332",
"domain": null,
"id": 11118263,
"ip": "104.243.40.52",
"port": 4597,
"query": 4597,
"color": 0,
"city": "Piscataway",
"description": null,
"game": 3545060,
"owner": 165602,
"boosts": 1,
"last_offline": 1770786701,
"score": 0,
"last_online": 1776591624,
"icon": null,
"name": "Tricorn Darkly | FAST RESPAWN | TF2C.com",
"connect": "104.243.40.52:4597",
"request": "104.243.40.52:4597",
"map": "ctf_2fort",
"gamemode": "Team Fortress",
"version": "5007",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770113451,
"last_update": 1776591624,
"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": 15,
"language": "en",
"parked": false,
"app": {
"id": 123,
"steam_id": 3545060,
"name": "Team Fortress 2 Classified",
"url": "team-fortress-2-classified"
},
"server_owner": {
"username": "voqnum",
"avatar": "no.jpg",
"last_online": 1770260261
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11118263");
$data = json_decode($json, true);
var_dump($data);