API для [Best] Prestige | Online
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286470658882566",
"domain": null,
"id": 11714588,
"ip": "188.165.6.153",
"port": 29441,
"query": 29441,
"project_id": null,
"color": 0,
"city": "Dublin",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1781127813,
"last_online": 1780301453,
"icon": null,
"name": "[Best] Prestige | Online",
"connect": "188.165.6.153:29441",
"request": "188.165.6.153:29441",
"map": "pl_goldrush",
"gamemode": "Team Fortress",
"version": "10682184",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "IE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780301322,
"last_update": 1781127813,
"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": 2473,
"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/11714588");
$data = json_decode($json, true);
var_dump($data);