API для SAXTON HALE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790193422,
"app": {
"id": 24,
"name": "Team Fortress 2",
"steam_id": 440,
"url": "team-fortress-2"
},
"color": 0,
"connect": "213.32.108.79:21255",
"country": "NL",
"domain": null,
"game": 440,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17006068,
"ip": "213.32.108.79",
"language": "nl",
"last_update": 1790260431,
"map": "plr_hightower",
"maxplayers": 64,
"name": "SAXTON HALE",
"numplayers": 0,
"official": null,
"points": 0,
"port": 21255,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 21255,
"request": "213.32.108.79:21255",
"secured": true,
"status": false,
"steam_id": "90293303206155284",
"version": "10828683",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Роттердам",
"description": null,
"disabled_modules": [],
"gamemode": "Team Fortress",
"hidden": false,
"last_offline": 1790260431,
"last_online": 1790195300,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 15723,
"wipe_period": null,
"os": "l",
"region": 3,
"product": "tf",
"gametype": "cp,compspec,fastdl,HLstatsX:CE,linux,public,pure",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17006068");
$data = json_decode($json, true);
var_dump($data);