Team Fortress 2
API для █ BLW.TF US | VS SAXTON HALE | SKY-HIGH RESORT 24/7 █
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/214344json
{
"response": {
"steam_id": "85568392923008051",
"domain": null,
"id": 214344,
"ip": "85.117.240.1",
"port": 27165,
"query": 27165,
"color": 0,
"city": "Dallas",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1772357457,
"score": null,
"last_online": 1777569704,
"icon": null,
"name": "█ BLW.TF US | VS SAXTON HALE | SKY-HIGH RESORT 24/7 █",
"connect": "85.117.240.1:27165",
"request": "85.117.240.1:27165",
"map": "vsh_skyhigh_resort_blw",
"gamemode": "██ VSH ██",
"version": "10515055",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1582969553,
"last_update": 1777569704,
"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": 494,
"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/214344");
$data = json_decode($json, true);
var_dump($data);