Team Fortress 2
API для Las Noches TR
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11366631json
{
"response": {
"steam_id": "90283643746258958",
"domain": null,
"id": 11366631,
"ip": "141.11.109.30",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Istanbul",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1776814953,
"score": 0,
"last_online": 1776633198,
"icon": null,
"name": "Las Noches TR",
"connect": "141.11.109.30:27015",
"request": "141.11.109.30:27015",
"map": "mge_training_v8_beta4b",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "TR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774595255,
"last_update": 1776814953,
"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": 2145,
"language": "tr",
"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/11366631");
$data = json_decode($json, true);
var_dump($data);