摘要: curl -H "PRIVATE-TOKEN: private_token" "https://gitlab.com/api/v4/users/:yourname/projects" | jq .[].name | grep cto- | sed -e 's/"//g' | awk '{print  阅读全文
posted @ 2021-08-22 19:17 阿牛 阅读(243) 评论(0) 推荐(0) 编辑
摘要: curl \ -H "Accept: application/vnd.github.v3+json" \ -H "Authorization: token your_personal_token" \ "https://api.github.com/user/repos?per_page=100" 阅读全文
posted @ 2021-08-22 17:50 阿牛 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 先获取令牌,然后再console中执行。 (async function() { let resp = await fetch("https://gitee.com/api/v5/users/yourname/repos?access_token=#your_token_string#&type=a 阅读全文
posted @ 2021-08-22 16:17 阿牛 阅读(460) 评论(0) 推荐(0) 编辑