2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Javascript】Qiitaで自分の記事一覧を取得する方法

Posted at

以下の通りでした。

await fetch(`https://qiita.com/api/v2/users/${userID}/items`, {
		method: "GET",
		headers: {
			Authorization: `Bearer ${qiitaAccessToken}`,
		},
	})

公式ドキュメントのurlだと、自分はなぜか記事が一件しか取得できなかったので、上記のurlで取得しています。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?