Header

  1. View current page

    codian님의 노트

Profile_image?t=1222430422&type=big
19

get_latests

get_latests

지정한 미투데이 사용자의 최근글 목록을 가져옵니다.

사용자 인증은 필요없습니다.

 

URL

http://me2day.net/api/get_latests/[미투데이아이디].[응답형식]

응답형식은 xml, json, rss 중 하나를 지정합니다. 지정하지 않은 경우 xml을 응답형식으로 사용합니다.

 

예) http://me2day.net/api/get_latests/codian.xml

 

파라미터

없음

 

응답

글 목록

 

xml 형식

  1. <?xml version="1.0" encoding="UTF-8"?>
    <posts>
  2.   <post>
  3.     <post_id>p9h0r</post_id>
  4.     <permalink>http://me2day.net/me2daytest/2007/04/22#01:17:16</permalink>
        <body>&lt;a href="http://me2day.net"&gt;&#48120;&#53804;&#45936;&#51060;&lt;/a&gt;&#50640; &#44544;&#51012; &#50732;&#47549;&#45768;&#45796;.</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>&#44544;&#50416;&#44592;</name>
            <url>http://localhost:3000/me2daytest/tag/&#44544;&#50416;&#44592;</url>
          </tag>
        </tags>
        <me2dayPage>http://me2day.net/me2daytest</me2dayPage>
        <pubDate>2007-04-22T01:17:16+0900</pubDate>
        <commentsCount>0</commentsCount>
  5.     <metooCount>0</metooCount>
  6.     <contentType>me2photo</contentType>
  7.     <callbackUrl>
  8.       http://me2day.net/front/me2photo?id=2638622048&post_id=pmfps
  9.     </callback_url>
  10.     <iconUrl>
  11.       http://farm4.static.flickr.com/3128/2638622048_1a20903072_s.jpg?200807070534
  12.     </icon_url>
  13.     <author>
  14.       <id>me2daytest</id>
          <nickname>&#48120;&#53804;&#45936;&#51060;</nickname>
          <face>http://me2day.net/images/user/codian/&#54620;&#44544;&#51060;&#47492;.jpg</face>
          <homepage>http://me2day.net</homepage>
          <me2dayHome>http://me2day.net/me2daytest</me2dayHome>
        </author>
  15.     <location>
          <name>Seoul</name>
          <longitude/>
          <latitude/>
        </location>
  16.     <media>
          <me2photo>
            <provider>flickr</provider>
            <photoId>2138021550</photoId>
            <photoUrl>
              http://farm3.static.flickr.com/2204/2138021550_4b8257d416.jpg
            </photoUrl>
            <permalink>
  17.           http://www.flickr.com/photos/me2flickr/2138021550/
  18.         </permalink>
          </me2photo>
  19.     </media>
      </post>
    </posts>

 

json 형식

  1. [
  2.     {
  3.            "post_id":"p9h0r",
  4.             permalink: "http://me2day.net/me2daytest/2007/04/22#01:15:22",
  5.             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,
  6.             metooCount: 0,
  7.          contentType: "me2photo",

  8.             callbackUrl: "http://me2day.net/front/me2photo?id=2638622048&post_id=pmfps",

  9.             iconUrl: "http://farm4.static.flickr.com/3128/2638622048_1a20903072_s.jpg?200807070534",

  10.             author: {
  11.                     id: "me2daytest",
                        nickname: "\ubbf8\ud22c\ub370\uc774",
                        face: "http://me2day.net/images/user/codian/&#54620;&#44544;&#51060;&#47492;.jpg",
                        homepage: "http://me2day.net",
                        me2dayHome: "http://me2day.net/me2daytest"
                },
  12.             location:{
  13.               name: "Seoul",
  14.               longitude: null,
                  latitude: null
  15.             },
  16.             media:{

  17.       "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)

You must log in to leave a comment. Please sign in.