API dla 💥 OUPRO.gg | ONLY AWP LEGO #1 128tick | !ws !gl !knife !lvl
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "85568392935973160",
"domain": null,
"id": 11222686,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Falkenstein",
"description": "[{\"id\":\"NKLgK7ARF9\",\"type\":\"paragraph\",\"data\":{\"text\":\"**ОНИ ВЕРНУЛИ CS:GO - МЫ ВЕРНУЛИ OUPRO!**\\n\\n*Скины ставятся по старой доброй классике прямо в игре: пишите в чат !ws, !knife и !gloves.\\n\\nВсе активные на тот момент привилегии ПРОДЛЕНЫ ДО 01.01.2027*\"}}]",
"game": 4465480,
"owner": 127264,
"boosts": 1,
"last_offline": 1780725214,
"last_online": 1779817814,
"icon": null,
"name": "💥 OUPRO.gg | ONLY AWP LEGO #1 128tick | !ws !gl !knife !lvl",
"connect": null,
"request": null,
"map": "oupro_maps/awp_lego_2",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1773001892,
"last_update": 1780725214,
"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": 2278,
"language": "de",
"parked": true,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "1lpo",
"avatar": "no.jpg"
},
"mods": [
{
"id": 2189,
"name": "LevelRanks"
},
{
"id": 2190,
"name": "Vips"
},
{
"id": 2191,
"name": "Admin"
},
{
"id": 2188,
"name": "Shop"
},
{
"id": 2187,
"name": "CheckCheats"
},
{
"id": 2193,
"name": "AWP ONLY"
}
],
"disabled_modules": [
"chat"
]
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11222686");
$data = json_decode($json, true);
var_dump($data);