Github APIライブラリのJSONファイルフォーマット


1.すべてのライブラリファイルを取得
curl -u zhu126fang https://api.github.com/user/repos

2.いずれかのライブラリのJSONファイルを切り取る
{
    "id": 28468054,
    "name": "raspberry",
    "full_name": "zhu126fang/raspberry",
    "owner": {
      "login": "zhu126fang",
      "id": 10016241,
      "avatar_url": "https://avatars.githubusercontent.com/u/10016241?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/zhu126fang",
      "html_url": "https://github.com/zhu126fang",
      "followers_url": "https://api.github.com/users/zhu126fang/followers",
      "following_url": "https://api.github.com/users/zhu126fang/following{/other_user}",
      "gists_url": "https://api.github.com/users/zhu126fang/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/zhu126fang/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/zhu126fang/subscriptions",
      "organizations_url": "https://api.github.com/users/zhu126fang/orgs",
      "repos_url": "https://api.github.com/users/zhu126fang/repos",
      "events_url": "https://api.github.com/users/zhu126fang/events{/privacy}",
      "received_events_url": "https://api.github.com/users/zhu126fang/received_events",
      "type": "User",
      "site_admin": false
    },
    "private": false,
    "html_url": "https://github.com/zhu126fang/raspberry",
    "description": "Official documentation for the Raspberry Pi",
    "fork": true,
    "url": "https://api.github.com/repos/zhu126fang/raspberry",
    "forks_url": "https://api.github.com/repos/zhu126fang/raspberry/forks",
    "keys_url": "https://api.github.com/repos/zhu126fang/raspberry/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/zhu126fang/raspberry/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/zhu126fang/raspberry/teams",
    "hooks_url": "https://api.github.com/repos/zhu126fang/raspberry/hooks",
    "issue_events_url": "https://api.github.com/repos/zhu126fang/raspberry/issues/events{/number}",
    "events_url": "https://api.github.com/repos/zhu126fang/raspberry/events",
    "assignees_url": "https://api.github.com/repos/zhu126fang/raspberry/assignees{/user}",
    "branches_url": "https://api.github.com/repos/zhu126fang/raspberry/branches{/branch}",
    "tags_url": "https://api.github.com/repos/zhu126fang/raspberry/tags",
    "blobs_url": "https://api.github.com/repos/zhu126fang/raspberry/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/zhu126fang/raspberry/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/zhu126fang/raspberry/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/zhu126fang/raspberry/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/zhu126fang/raspberry/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/zhu126fang/raspberry/languages",
    "stargazers_url": "https://api.github.com/repos/zhu126fang/raspberry/stargazers",
    "contributors_url": "https://api.github.com/repos/zhu126fang/raspberry/contributors",
    "subscribers_url": "https://api.github.com/repos/zhu126fang/raspberry/subscribers",
    "subscription_url": "https://api.github.com/repos/zhu126fang/raspberry/subscription",
    "commits_url": "https://api.github.com/repos/zhu126fang/raspberry/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/zhu126fang/raspberry/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/zhu126fang/raspberry/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/zhu126fang/raspberry/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/zhu126fang/raspberry/contents/{+path}",
    "compare_url": "https://api.github.com/repos/zhu126fang/raspberry/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/zhu126fang/raspberry/merges",
    "archive_url": "https://api.github.com/repos/zhu126fang/raspberry/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/zhu126fang/raspberry/downloads",
    "issues_url": "https://api.github.com/repos/zhu126fang/raspberry/issues{/number}",
    "pulls_url": "https://api.github.com/repos/zhu126fang/raspberry/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/zhu126fang/raspberry/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/zhu126fang/raspberry/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/zhu126fang/raspberry/labels{/name}",
    "releases_url": "https://api.github.com/repos/zhu126fang/raspberry/releases{/id}",
    "created_at": "2014-12-25T02:29:07Z",
    "updated_at": "2015-05-26T10:39:28Z",
    "pushed_at": "2014-12-30T03:08:21Z",
    "git_url": "git://github.com/zhu126fang/raspberry.git",
    "ssh_url": "[email protected]:zhu126fang/raspberry.git",
    "clone_url": "https://github.com/zhu126fang/raspberry.git",
    "svn_url": "https://github.com/zhu126fang/raspberry",
    "homepage": "http://www.raspberrypi.org/documentation",
    "size": 22697,
    "stargazers_count": 0,
    "watchers_count": 0,
    "language": "Ruby",
    "has_issues": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "forks_count": 0,
    "mirror_url": null,
    "open_issues_count": 0,
    "forks": 0,
    "open_issues": 0,
    "watchers": 0,
    "default_branch": "Raspberry-Doc",
    "permissions": {
      "admin": true,
      "push": true,
      "pull": true
    }
  },