1 Star 0 Fork 18

康少强 / docs_tools

forked from hr_oe / docs_tools 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
gitee_q.sh 358 Bytes
Copy Edit Raw Blame History
sugarfillet authored 2020-04-13 16:45 . gitee_q.sh
qq(){
curl -f -X GET --header 'Content-Type: application/json;charset=UTF-8' "https://gitee.com/api/v5/repos/src-openEuler/${pkg}/stargazers?access_token=${token}&page=1&per_page=20" &>/dev/null
if [[ 0 == $? ]];then
printf "%s\t%s\n" $pkg "Y"
else
printf "%s\t%s\n" $pkg "N"
fi
}
file=$1
token=$2
for pkg in `cat $file`;do
qq
done | tee r.txt
Shell
1
https://gitee.com/kang_xiao_qiang/docs_tools.git
git@gitee.com:kang_xiao_qiang/docs_tools.git
kang_xiao_qiang
docs_tools
docs_tools
master

Search

53164aa7 5694891 3bd8fe86 5694891