User API

User API

user/show

returns user’s information.

URL

http://api.jsdo.it/v0.2/user/show.json

Required parameters

  • name

Optional parameters

  • callback

    If you want to use jsonp.

Example

request:

http://api.jsdo.it/v0.2/user/show.json?name=sugyan

response:

{
  "icon": "http://jsdo.it/images/icon/0/6/1/c/061cdbab5bc677b7e544a8fdcf12b836068e8e8b_100.jpg",
  "external_url": "http://d.hatena.ne.jp/sugyan/",
  "url": "http://jsdo.it/sugyan",
  "name": "sugyan",
  "created_date": "2010-06-18 10:55:30",
  "counts": {
    "favorited": "89",
    "codes": "36",
    "forked": "51",
    "following": "38",
    "followers": "47"
  },
  "description": "すぎゃーんです。"
}

user/codes

URL

http://api.jsdo.it/v0.2/user/codes.json

Required parameters

  • name

Optional parameters

  • callback

    If you want to use jsonp.

Example

request:

http://api.jsdo.it/v0.2/user/codes.json?name=sugyan

response:

{
  "results": [
    {
      "thumbnail": {
        "wide": "http://jsdo.it/images/capture/3/0/u/30ud_w.jpg",
        "465": "http://jsdo.it/images/capture/3/0/u/30ud.jpg",
        "100": "http://jsdo.it/images/capture/3/0/u/30ud_100.jpg"
      },
      "modified_date": "2011-03-28 14:41:28",
      "uid": "30ud",
      "created_date": "2011-03-28 10:56:55",
      "path": "30ud",
      "statistic": {
        "forked": "1",
        "favorite": "1",
        "pageview": "198"
      },
      "user": {
        "icon": "http://jsdo.it/images/icon/0/6/1/c/061cdbab5bc677b7e544a8fdcf12b836068e8e8b_100.jpg",
        "name": "sugyan"
      },
      "url": "http://jsdo.it/sugyan/30ud",
      "title": "photos 2011-03-27 - Wakabayashi-ku,Sendai."
    },
    {
      "thumbnail": {
        "wide": "http://jsdo.it/images/capture/4/5/S/45Ss_w.jpg",
        "465": "http://jsdo.it/images/capture/4/5/S/45Ss.jpg",
        "100": "http://jsdo.it/images/capture/4/5/S/45Ss_100.jpg"
      },
      "modified_date": "2011-03-24 15:39:20",
      "uid": "45Ss",
      "created_date": "2011-03-24 14:46:05",
      "path": "TEPCO",
      "statistic": {
        "forked": "2",
        "favorite": "5",
        "pageview": "896"
      },
      "user": {
        "icon": "http://jsdo.it/images/icon/0/6/1/c/061cdbab5bc677b7e544a8fdcf12b836068e8e8b_100.jpg",
        "name": "sugyan"
      },
      "url": "http://jsdo.it/sugyan/TEPCO",
      "title": "東京電力電気需要表グラフ"
    },
    {
      "thumbnail": {
        "wide": "http://jsdo.it/images/capture/j/M/5/jM5e_w.jpg",
        "465": "http://jsdo.it/images/capture/j/M/5/jM5e.jpg",
        "100": "http://jsdo.it/images/capture/j/M/5/jM5e_100.jpg"
      },
      "modified_date": "2011-03-21 18:44:02",
      "uid": "jM5e",
      "created_date": "2011-03-21 02:12:31",
      "path": "address_geocoder",
      "statistic": {
        "forked": "1",
        "favorite": "1",
        "pageview": "476"
      },
      "url": "http://jsdo.it/sugyan/address_geocoder",
      "user": {
        "icon": "http://jsdo.it/images/icon/0/6/1/c/061cdbab5bc677b7e544a8fdcf12b836068e8e8b_100.jpg",
        "name": "sugyan"
      },
      "title": "forked from: 簡易住所入力補完"
    },
    ...
  ]
}

Table Of Contents

Previous topic

jsdo.it API’s documentation

Next topic

Code API

This Page