API для [JP][日本] Bocchi The Rust! |SOLO ONLY| 1人 ソロ用 5/29
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 163,
"fps_avg": 146,
"entities_count": 110334,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90286568013954065",
"domain": null,
"id": 11596733,
"ip": "82.21.2.5",
"port": 10205,
"query": 10217,
"color": 0,
"city": "Chiyoda City",
"description": "![[JP][日本] Bocchi The Rust! |SOLO ONLY| 1人 ソロ用 5/29](https://i.imgur.com/S1PLKQf.png)\nようこそ\r\n公式とほぼ同じ仕様の日本人向けソロ専!用PvPサーバーです。\r\n毎週金曜日にフルワイプ(MPA・BP)しています。\r\n\r\nWelcome to 【Bocchi The Rust】\r\n・Team size 1 (SOLO ONLY)\r\n・Map size 3500\r\n・Daily restart:AM4:00 JST\r\n・Full wipe:Weekly (Next:6/5 18:00 JST)\r\n・Discord:https://discord.gg/9wKdPJrfw2",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470418,
"last_online": 1780577430,
"icon": null,
"name": "[JP][日本] Bocchi The Rust! |SOLO ONLY| 1人 ソロ用 5/29",
"connect": "82.21.2.5:10205",
"request": "82.21.2.5:10217",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 6,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1779358597,
"last_update": 1780577430,
"banned": false,
"wipe": 1780045127,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1284,
"language": "ja",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11596733");
$data = json_decode($json, true);
var_dump($data);