Closed1

github API CLI

yuucuyuucu

アクセストークンの取得

https://github.com/settings/tokens

# 自分のユーザ情報取得
$ curl -i -u USER_NAME:{YOUR_TOKEN} https://api.github.com/user 

# 自分のリポジトリ一覧
$ curl -i -H "Authorization: token {YOUR_TOKEN}"  https://api.github.com/user/repos


# 特定リポジトリのissue一覧
$ curl -i -H "Authorization: token {YOUR_TOKEN}" 
 https://api.github.com/repos/{OWNER_NAME}/{REPO_NAME}/issues

github api issue

https://docs.github.com/en/free-pro-team@latest/rest/guides/getting-started-with-the-rest-api#issues

このスクラップは2023/09/10にクローズされました