patrickstar25 / twitter

0 stars 0 forks source link

获取kakaomap的facilities #10

Open patrickstar25 opened 6 months ago

patrickstar25 commented 6 months ago

DESCRIPTION

按类别搜索地址

可以得到已收集到的facilities的地址,电话等信息。

GET: https://dapi.kakao.com//v2/local/search/category.json
header:KakaoAK, Content_type
Params:category_group_code, radius

1.可得到的facilities类型:

MT1 | Large supermarket
CS2 | Convenience Store
PS3 | Daycare, Kindergarten
SC4 | School
AC5 | Academy
PK6 | Parking lot
OL7 | Gas Station, Charging Station
SW8 | Subway Station
BK9 | Bank
CT1 | Cultural Facilities
AG2 | Brokerage Corporation
PO3 | Public institutions
AT4 | Tourist attractions
AD5 | Accommodation
FD6 | Restaurant
CE7 | Cafe
HP8 | Hospital
PM9 | Pharmacy

2.可得到的facilities数据 示例:

"address_name": "서울 종로구 종로5가 103",
"category_group_code": "PM9",
"category_group_name":"약국",
"category_name":"의료,건강 \u003e 약국",
"distance":"",
"id":"11058267",
"phone":"02-763-8182",
"place_name":"보령약국",
"place_url":"http://place.map.kakao.com/11058267",
"road_address_name":"서울 종로구 종로 203",
"x":"127.0003429871931",
"y":"37.57113559406886"
*并可以显示每种facilities的总数量

Note

(Will not proceed) 在website embedded map中显示marked facilities

[建立了一个数组,里面有几个example,可以用creat***Maker去添加新的坐标到数组,然后显示标记图像,可以同时创立多个数组,标记多种facilities] click

(Will not proceed)按类别搜索地点

[内部有几种facilities,点击可以显示当前范围内的所有该facility的地点,如何点击到具体的地点会给一个位置] click

kakao_facilities.postman_collection.json