Skip to content

Instantly share code, notes, and snippets.

@nutti
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nutti/9f42b3cb0f685db47a0f to your computer and use it in GitHub Desktop.
Save nutti/9f42b3cb0f685db47a0f to your computer and use it in GitHub Desktop.
Qiitaから特定ユーザの投稿の一覧を取得する
var user = 'YOUR_NAME'; // ユーザ名
$.ajax({
url: 'https://qiita.com/api/v1/users/' + user + '/items',
type: 'GET',
dataType: 'json',
scriptCharset: 'utf-8',
success: function(res) {
// 成功した時の処理
},
error: function(err) {
// 失敗した時の処理
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment