get_latests
get_latests
지정한 미투데이 사용자의 최근글 목록을 가져옵니다.
사용자 인증은 필요없습니다.
URL
http://me2day.net/api/get_latests/[미투데이아이디].[응답형식]
응답형식은 xml, json, rss 중 하나를 지정합니다. 지정하지 않은 경우 xml을 응답형식으로 사용합니다.
예) http://me2day.net/api/get_latests/codian.xml
파라미터
없음
응답
글 목록
xml 형식
- <?xml version="1.0" encoding="UTF-8"?>
<posts> - <post>
- <post_id>p9h0r</post_id>
- <permalink>http://me2day.net/me2daytest/2007/04/22#01:17:16</permalink>
<body><a href="http://me2day.net">미투데이</a>에 글을 올립니다.</body>
<kind>think</kind>
<icon>http://me2day.net/images/post_think.gif</icon>
<tags>
<tag>
<name>me2api</name>
<url>http://localhost:3000/me2daytest/tag/me2api</url>
</tag>
<tag>
<name>create_post</name>
<url>http://localhost:3000/me2daytest/tag/create_post</url>
</tag>
<tag>
<name>글쓰기</name>
<url>http://localhost:3000/me2daytest/tag/글쓰기</url>
</tag>
</tags>
<me2dayPage>http://me2day.net/me2daytest</me2dayPage>
<pubDate>2007-04-22T01:17:16+0900</pubDate>
<commentsCount>0</commentsCount> - <metooCount>0</metooCount>
- <contentType>me2photo</contentType>
- <callbackUrl>
- http://me2day.net/front/me2photo?id=2638622048&post_id=pmfps
- </callback_url>
- <iconUrl>
- http://farm4.static.flickr.com/3128/2638622048_1a20903072_s.jpg?200807070534
- </icon_url>
- <author>
- <id>me2daytest</id>
<nickname>미투데이</nickname>
<face>http://me2day.net/images/user/codian/한글이름.jpg</face>
<homepage>http://me2day.net</homepage>
<me2dayHome>http://me2day.net/me2daytest</me2dayHome>
</author> - <location>
<name>Seoul</name>
<longitude/>
<latitude/>
</location> - <media>
<me2photo>
<provider>flickr</provider>
<photoId>2138021550</photoId>
<photoUrl>
http://farm3.static.flickr.com/2204/2138021550_4b8257d416.jpg
</photoUrl>
<permalink> - http://www.flickr.com/photos/me2flickr/2138021550/
- </permalink>
</me2photo> - </media>
</post>
</posts>
json 형식
- [
- {
- "post_id":"p9h0r",
- permalink: "http://me2day.net/me2daytest/2007/04/22#01:15:22",
- body: "\"\ubbf8\ud22c\ub370\uc774\":http://me2day.net \uc5d0 \uae00\uc744 \uc62c\ub9bd\ub2c8\ub2e4.",
kind: "think",
icon: "http://me2day.net/images/post_think.gif",
tags: [
{
name: "me2api",
url: "http://localhost:3000/me2daytest/tag/me2api"
}, {
name: "create_post",
url: "http://localhost:3000/me2daytest/tag/create_post"
}, {
name: "\uae00\uc4f0\uae30",
url: "http://localhost:3000/me2daytest/tag/\uae00\uc4f0\uae30"
}
],
me2dayPage: "http://me2day.net/me2daytest",
pubDate: "2007-04-21T16:15:22+0900",
commentsCount: 0, - metooCount: 0,
-
contentType: "me2photo",
-
callbackUrl: "http://me2day.net/front/me2photo?id=2638622048&post_id=pmfps",
-
iconUrl: "http://farm4.static.flickr.com/3128/2638622048_1a20903072_s.jpg?200807070534",
- author: {
- id: "me2daytest",
nickname: "\ubbf8\ud22c\ub370\uc774",
face: "http://me2day.net/images/user/codian/한글이름.jpg",
homepage: "http://me2day.net",
me2dayHome: "http://me2day.net/me2daytest"
}, - location:{
- name: "Seoul",
- longitude: null,
latitude: null - },
-
media:{
-
"provider":"flickr",
"photoId":"2138021550",
"photoUrl":"http://farm3.static.flickr.com/2204/2138021550_4b8257d416.jpg",
"permalink":"http://www.flickr.com/photos/me2flickr/2138021550/"
}
}
]
rss 형식
rss 2.0 형식을 사용합니다.
History
Last edited on 08/07/2008 20:19 by codian
Comments (0)