GitLeak icon indicating copy to clipboard operation
GitLeak copied to clipboard

GitHub API

Open yichinzhu opened this issue 8 years ago • 1 comments

GitHub有提供API,直接用API搜不是更好吗 https://developer.github.com/

yichinzhu avatar Oct 30 '17 02:10 yichinzhu

参考 https://github.com/repoog/GitPrey#技术实现说明

在项目内关键词文件名和关键词内容扫描时未采用API,原因有两点:一是搜索代码的API频率限制很大(认证后30次/分钟)无法满足快速搜索;二是某些项目关键词的搜索结果项超过100条,而API在设置per_page参数后至多支持展现100条结果项;

5alt avatar Nov 02 '17 10:11 5alt