地区省市映射/Region City List

Weiboapi

About

地区省市映射/Region City List

Documentation

地区省市映射/Region City List

[中文]

用途:

  • 获取地区省市映射数据,用于用户搜索等接口的地区筛选参数。

参数:

  • normalized: 是否返回标准化结构(默认True)

返回:

  • 省市映射数据,用于fetch_user_search等接口的region参数

注意:

  • 返回的编码格式为 custom:省代码:市代码,如 custom:11:1

[English]

Purpose:

  • Get region city mapping data for region filter parameter in user search APIs.

Parameters:

  • normalized: Whether to return normalized structure (default True)

Return:

  • Province-city mapping data, for region parameter in fetch_user_search and other APIs

Note:

  • Returned code format is custom:province_code:city_code, e.g. custom:11:1

[示例/Example]

normalized = True

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 地区省市映射/Region City List

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models