범용적인 3rd Party 인증표준으로 쓰이는 OAuth를 통해 인증을 받고, API를 호출하여 사용할 수 있습니다.
기본 출력형태 및 포멧
https://apis.daum.net/blog/[*].do
제공하는 기능
글 관련
| 기능 |
URL |
| 글 목록 |
https://apis.daum.net/blog/post/list.do |
| 새 글 쓰기(Only Article) |
https://apis.daum.net/blog/post/write.do |
| 글 수정하기 |
https://apis.daum.net/blog/post/modify.do |
| 글 내용 가져오기(글한개) |
https://apis.daum.net/blog/post/read.do |
| 파일 업로드 |
https://apis.daum.net/blog/post/uploadFile.do |
카테고리 관련
| 기능 |
URL |
| 카테고리 목록 가져오기 |
https://apis.daum.net/blog/category/list.do |
댓글 관련
| 기능 |
URL |
| 댓글 목록 가져오기 |
https://apis.daum.net/blog/comment/list.do |
| 댓글 작성하기 |
https://apis.daum.net/blog/comment/write.do |
알리미 관련(RSS)
일반 정보 관련
상세 명세
글 관련(POST series)
글 목록 가져오기
Request URL
https://apis.daum.net/blog/post/list.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| categoryId |
string |
카테고리 ID (없을 경우 전체 카테고리로) |
| pageNo |
integer : 기본값 1 |
페이지 번호 |
| result |
integer : 기본값 20 |
한 페이지당 글 수 |
| maxNo |
integer |
페이지내 가장 큰 post ID |
| minNo |
integer |
페이지내 가장 작은 post ID |
| maxDate |
string |
페이지내 가장 최신 날짜 (형식:yyyymmddHHmiss) |
| minDate |
string |
페이지내 가장 과거 날짜 (형식:yyyymmddHHmiss) |
| viewContent |
string |
Y(대문자)가 아닐 경우 본문 생략 |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| totalCount |
integer |
전체 글 수 |
| maxNo |
integer : 기본값 1페이지의 해당 값 세팅 |
페이지내 가장 큰 post ID |
| minNo |
integer : 기본값 1페이지의 해당 값 세팅 |
페이지내 가장 작은 post ID |
| maxDate |
string |
페이지내 가장 최신 날짜 (형식:yyyymmddHHmiss) |
| minDate |
string |
페이지내 가장 과거 날짜 (형식:yyyymmddHHmiss) |
| item |
- |
각각의 글 node, 아래 item 이하 |
| postId |
string |
글 ID |
| nickname |
string |
글쓴이 닉네임 |
| title |
string |
글 제목 |
| content |
string |
글 내용 |
| date |
string |
작성 날짜 |
| open |
string |
글 공개여부 |
| url |
string |
글 주소 |
| viewCategoryId |
string |
뷰로 발행된 글일 경우 view카테고리 |
| viewId |
string |
뷰로 발행된 글일 경우 view id - 이걸로 뷰용 주소를 만들 수 있음 |
| isScrap |
string |
스크랩된 글인지 여부 |
| comments |
string |
댓글 수 |
| trackbacks |
string |
트랙백 수 |
| images |
- |
각각의 글의 이미지 node, 아래 images 이하 |
| item |
string |
각각의 글의 이미지 item |
| url |
string |
이미지 주소 |
새 글 쓰기 (Only Article)
Request URL
https://apis.daum.net/blog/post/write.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| title |
string (필수) |
글 제목 |
| content |
string (필수) |
글 본문 |
| tag |
string (필수) |
글 태그 (,로 구분하며 이어서 쓰면 됨.) |
| viewCategoryId |
string |
뷰로 보낼경우 필요. view 카테고리 ID(view에 가입된 사용자여야함) |
| categoryId |
string |
카테고리 ID (없을 경우 전체 카테고리로) |
| open |
string : 기본값 Y |
공개여부
|
| fileName |
string |
첨부 파일명 |
| fileUrl |
string |
파일 URL
Daum 파일팜 서버에 있는 URL만 됩니다. (이미 블로그에 올라가 있는 파일)
예) http://cfile209.uf.daum.net/C165x165/174A6C504D8FD5EC1AF8C7
파입업로드 기능을 사용하면 URL 값을 얻을 수 있습니다.
|
| fileSize |
integer |
파일사이즈 |
| fileType |
string |
파일 type
|
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| postId |
integer |
글 번호 |
| url |
string |
Full URL |
글 수정하기
Request URL
https://apis.daum.net/blog/post/modify.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| postId |
string (필수) |
글 번호 |
| title |
string (필수) |
글 제목 |
| content |
string (필수) |
글 태그 |
| tag |
string (필수) |
태그 (,로 구분하며 이어서 쓰면 됨) |
| viewCategoryId |
string |
뷰로 보낼경우 필요. view 카테고리 ID(view에 가입된 사용자여야함) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| postId |
integer |
글 번호 |
| url |
string |
Full URL |
글 내용 가져오기(글한개)
Request URL
https://apis.daum.net/blog/post/read.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| postId |
string (필수) |
글 번호 |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| postId |
integer |
글 번호 |
| url |
string |
Full URL |
| title |
string |
글 제목 |
| content |
string |
글 본문 |
| nickname |
string |
글쓴이 닉네임 |
| comments |
string |
댓글 수 |
| trackbacks |
string |
트랙백 수 |
| tag |
string |
태그 |
| date |
string |
작성날짜 |
| images |
string |
첨부된 이미지 |
| previousPost |
string |
이전 글 노드 |
| nextPost |
string |
다음 글 노드 |
파일 업로드
Request URL
https://apis.daum.net/blog/post/uploadFile.do
Request method
POST (multipart)
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| file |
multipart file data(필수) |
첨부할 파일(10MB 이하) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| url |
string |
파일 URL (이 URL을 글 쓰기시 추가할 수 있다.) |
카테고리 관련(category series)
카테고리 목록 가져오기
Request URL
https://apis.daum.net/blog/category/list.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| item |
integer |
응답코드 |
| status |
integer |
응답코드 |
| categoryId |
integer |
카테고리 ID |
| open |
string |
카테고리 공개 상태 |
| name |
string |
카테고리 이름 |
댓글 관련(comment series)
댓글 목록 가져오기
Request URL
https://apis.daum.net/blog/comment/list.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| postId |
string (필수) |
글 ID |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| item |
- |
각각의 글 node, 아래는 item이하 |
| commentId |
string |
댓글 ID |
| content |
string |
댓글 내용 |
| parentId |
string |
부모 댓글Id(부모글이라면 ID와 댓글이 동일) |
| date |
string |
댓글 작성 시간 |
| name |
string |
작성자 이름 |
Request URL
https://apis.daum.net/blog/comment/write.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| postId |
string (필수) |
글 ID |
| content |
string(필수) |
댓글 내용 |
| name |
string(필수) |
이름 (로그인시 무시) |
| email |
string(필수) |
이메일 (로그인시 무시) |
| homepage |
string(필수) |
홈페이지 (로그인시 무시) |
| password |
string(필수) |
비밀번호 (로그인시 무시)/td>
|
| secret |
string(필수) |
비밀글 여부(Y) (비로그인시 무시) |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
Request URL
https://apis.daum.net/blog/rss/list.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| item |
- |
각각의 글 node, 아래는 item 이하 |
| title |
string |
글 제목 |
| content |
string |
글 본문 |
| link |
string |
글 주소 |
| pubDate |
string |
작성 시간 |
| auhor |
string |
작성자 이름 |
일반 정보 관련(info series)
블로그 정보 가져오기
Request URL
https://apis.daum.net/blog/info/blog.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| id |
string |
블로그 ID |
| name |
string |
블로그 이름 (http://blog.daum/주소 뒤에 붙는 이름 |
| nickname |
string |
닉네임 |
| title |
string |
블로그 타이틀 |
| description |
string |
설명 |
| url |
string |
글 주소 |
| rssUrl |
string |
RSS주소 |
| myconImageUrl |
string |
마이콘 이미지 URL |
| profileThumbnailImageUrl |
string |
프로필 썸네일 이미지 URL |
| profileImageUrl |
string |
프로필 원본 이미지 URL |
| isNewGuestbookExists |
string |
방명록 새글 여부 |
| visitorCount |
string |
오늘 방문자 카운트 |
나에 대한 반응 목록 가져오기
Request URL
https://apis.daum.net/blog/info/myActivity.do
Request method
GET/POST
요청 변수(Request parameter)
| 요청변수 |
값 |
설명 |
| blogName |
string (필수) |
블로그명 |
| output |
string : 기본값 xml |
xml|json |
| callback |
string |
callback(json인 경우에만) |
출력 결과(Response Element)
| 출력 변수 |
값 |
설명 |
| status |
integer |
응답코드 |
| item |
- |
각각의 글 node, 아래는 item 이하 |
| title |
string |
글 제목 |
| postId |
string |
반응글의 ID |
| pubDate |
string |
반응글에 달린 컨텐츠 작성 시간 |
| description |
string |
반응에 대한 요약 설명 |
| author |
string |
작성자 이름 |
| type |
string |
반응종류(B|C|T) - B:방명록, C:댓글, T:트랙백 |