• 다음 블로그 검색연동 ( XML , JSON )

    2016. 10. 31.

    by. Yo.

    728x90



    다음 블로그 검색 결과 XML로 받기


    * API Url

     : http://dna.daum.net/apis/search


    * Test Url

     : http://apis.daum.net/search/blog?q=uhoon.co.kr&apikey=DAUM_SEARCH_DEMO_APIKEY


    * API Key 

     : http://dna.daum.net/myapi/dashboard


    기타 검색 및 상세 옵션은 API 를 참고해주시고 블로그 검색을 위한 옵션입니다.



    Request Parameter 

     

    요청변수 설명
    q string (필수) 검색을 원하는 질의어
    result integer : 기본값 10, 최소 1, 최대 20 한 페이지에 출력될 결과수
    pageno integer : 기본값 1, 최소 1, 최대 500 검색 결과 페이지 번호
    sort string : date(기본값), accu
    • 검색 결과의 정렬순서
    • date : 최신글순
    • accu : 정확도순
    output string : xml(기본값), json 결과형식
    callback string 콜백함수(output이 json일 경우)




    Response Parameter


    출력 변수 설명
    title string 검색 제목
    link string 서비스 URL
    description string 검색 결과의 간략한 소개
    lastBuildDate string 검색 시간
    totalCount integer 전체 검색 결과의 수
    pageCount integer 전체 검색 결과의 페이지수
    result integer 한 페이지에 출력될 결과수
    item - 개별 검색 결과 정보
    title string 개별 검색 결과의 제목
    description string 개발 검색 결과의 본문 요약
    link string 개별 검색 결과의 link url
    comment string 관련 링크
    author string 출처
    pubDate string 등록일



    728x90

    댓글