API pentru █ BLW.TF AUS | HIGHTOWER █
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "85568392922147767",
"domain": null,
"id": 11545044,
"ip": "139.99.131.39",
"port": 27310,
"query": 27310,
"color": 0,
"city": "Sydney",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1779355563,
"last_online": 1779729662,
"icon": null,
"name": "█ BLW.TF AUS | HIGHTOWER █",
"connect": "139.99.131.39:27310",
"request": "139.99.131.39:27310",
"map": "plr_hightower",
"gamemode": "██ Highertower ██",
"version": "10682184",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355563,
"last_update": 1779729662,
"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": 1968,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11545044");
$data = json_decode($json, true);
var_dump($data);