not-for-me / location-search-service

Location Search Service
0 stars 0 forks source link

장소 상세 정보 제공 기능 #3

Closed not-for-me closed 5 years ago

not-for-me commented 5 years ago
not-for-me commented 5 years ago

상세정보는 별도의 api호출이 아니라 기존의 검색 결과에 포함해야 하는 데이터 이다.

2 에서 이미 다음과 같이 응답모델을 정의했다.

 {
      "placeName": "서린낙지",
      "placeUrl": "http://place.map.kakao.com/7937472",
      "address": "서울 종로구 청진동 146",
      "roadAddress": "서울 종로구 종로 19",
      "phone": "02-735-0670"
    }

여기에 추가로 id를 기반으로 mapUrl을 추가하면 된다. 예시 http://map.daum.net/link/map/18577297