DNA 포럼 API 서비스 모음 DNA Lens

일본어 사전 API


일본어 사전 API는 일본어 사전에 대한 검색 결과를 외부 개발자 및 사용자에게 RSS,JSON,XML 형식으로 전달하는 API 서비스입니다. 일본어 사전의 기능을 블로그나 자사 웹 서비스에 제공할 수 있게 해 줍니다.

요청 주소(Request URL) #

http://apis.daum.net/search/dic/jpdic

요청 변수(Request Parameters) #

요청 변수 설명
q string (필수) 검색을 원하는 질의
result integer : 기본값 10, 최소 1, 최대 20 한 페이지에 출력될 결과수
pageno integer : 기본값 1, 최소 1, 최대 500 검색 결과 페이지 번호
target integer null:all 0:읽기사전 1:일한사전 2:한일사전
output string : json(기본값), xml, json 결과형식
callback string 콜백함수(output이 json일 경우)

출력 결과(Response Elements) #

출력 변수 설명
title string 검색 제목
link string 검색 결과의 link url
totalCount integer 전체 검색 결과의 수
result integer 한 페이지에 보여질 결과 수
pageno integer 검색 결과의 페이지 번호
q string 검색어
item - 개별 검색 결과 정보

읽기사전인 경우 (type:read) #

docid string docid
id string id
link string 개별 검색 결과의 link url
type string read (읽기사전)
jsound string 일본어 발음
entrykind string 1(상용한자 - 쉬운 것), 0(일반한자)
entrygubun string 1(교육용한자 - 쉬운 것), 0(인명한자 - 어려운 것)
kmean string 한국어 의미
ksound string 한국어 발음
radical string 붓수
allcount integer 한자의 총 획수
allcount-radicalcount integer 총 획수에서 부수의 획수를 제한 값
jmean string 일본어 의미
hanjaentry string 한자

일한사전인 경우 (type:j2k) #

docid string docid
id string id
link string 개별 검색 결과의 link url
type string j2k (읽기사전)
entrydisplay string 일본어(가나) 필드
mean string 의미
hanja string 한자 표기

한일사전인 경우 (type:k2j) #

docid string docid
id string id
link string 개별 검색 결과의 link url
type string k2j (읽기사전)
entryname string 한국어 필드
hanja string 한자 표기
mean string 의미

출력 방식 #

  • [http]XML 방식 출력
  • [http]RSS 방식 출력
  • [http]JSON 방식 출력
  • 본 API는 외부 자바스크립트에서 서비스를 이용할 수 있도록 [http]콜백(Callback)함수를 지원합니다.

오류 메시지 #

게시판 검색 API는 [http]표준 오류 메시지를 전달합니다.

트래픽 제한 #

게시판 검색 API는 하나의 키에 대해 하루 5,000회 호출을 허용합니다. 자세한 사항은 [http]트래픽 제한을 참조하세요.

예제 코드 #

Daum 오픈API는 각 언어별 아래 예제를 통해 이용하실 수 있습니다.

http://dna.daum.net/apis/howto-php http://dna.daum.net/apis/howto-python http://dna.daum.net/apis/howto-javascript http://dna.daum.net/apis/howto-flex