API dla XONIA.STORE [ !VIP!WS CSGO !LVL!SHOP ] AWP #1
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9467747,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": null,
"game": 4465480,
"owner": 117102,
"boosts": 1,
"last_offline": 1759763036,
"last_online": 1756183229,
"icon": null,
"name": "XONIA.STORE [ !VIP!WS CSGO !LVL!SHOP ] AWP #1",
"connect": null,
"request": null,
"map": "awp_lego_2",
"gamemode": "Counter-Strike: Global Offensive",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1748417618,
"last_update": 1759763036,
"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": 2202,
"language": "ru",
"parked": true,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "H9PB1T",
"avatar": "3ee5f761-4728-4942-84b3-535e64865ac0.jpg"
},
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/9467747");
$data = json_decode($json, true);
var_dump($data);