Bilibili-Huahuo-API
地域下拉/Get region options
Changed on[中文]
用途:
- 获取 UP 主常驻地域筛选所需的省市层级字典。
参数:
- 无。
返回:
- 把选中一级地域节点的 value 放入 search_upper.region_id;把选中一级节点 children 中的二级节点 value 放入 search_upper.second_region_id。
- 多选时将所有选中值分别放入对应数组。例如北京、上海、福建,以及福建下的 厦门和福州为 {"region_id":[4,5,23],"second_region_id":[51,50]}。
调用示例:
GET /api/v1/bilibili/huahuo/region_drop
计费:
- 0.006 USD / 次。
[English]
Purpose:
- Retrieve the province/city hierarchy used by creator residence filters.
Parameters:
- None.
Returns:
- Put selected primary-node values in search_upper.region_id, and selected children[].values in search_upper.second_region_id.
- For multiple selections, collect all values in their respective arrays. For example: {"region_id":[4,5,23],"second_region_id":[51,50]}.
Example:
GET /api/v1/bilibili/huahuo/region_drop
Billing:
- 0.006 USD per request.
get/api/v1/bilibili/huahuo/region_drop
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Response
Successful Response
Changes
- info
endpoint added
- info