Loading…

Get all district and county data

```javascript WXAPI.districtsV2({ page: 1 }) ``` + page reads which page of data. If this parameter is not passed, the default value is 1. + pageSize How many records are displayed on each page of data? If this parameter is not passed, the default is 50, and the maximum cannot exceed 100. ```json { "code": 0, "data": [ { "firstLetter": "d", "id": "110101000000", "jianpin": "dcq", "level": 3, "name": "Dongcheng District", "nameEn": "Dongcheng District", "pid": "110100000000", "pinyin": "dongchengqu" }, { "firstLetter": "x", "id": "110102000000", "jianpin": "xcq", "level": 3, "name": "Xicheng District", "nameEn": "Xicheng District", "pid": "110100000000", "pinyin": "xichengqu" } ], "msg": "success" } ```