API dla [RU] BOMBOKLAK CLASSIC NOLIMIT | БОМБОКЛЯК |
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10571215,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 252490,
"owner": 125790,
"boosts": 1,
"last_offline": 1765950658,
"last_online": 1765055415,
"icon": null,
"name": "[RU] BOMBOKLAK CLASSIC NOLIMIT | БОМБОКЛЯК |",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1762847026,
"last_update": 1765950658,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 13379,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "Bomboklak_Manager",
"avatar": "7749c67f-5a2c-4919-8760-c1df0bb48af7.png"
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10571215");
$data = json_decode($json, true);
var_dump($data);