如何使用 Github 搜索 API 按标签搜索?
How to search by tag with the Github Search API?
我想找到所有带有特定标签和其他搜索条件的回购 api,例如所有带有标签 assembly
和 docker 作为自由文本的回购。
但是,tag:
前缀不起作用:https://api.github.com/search/repositories?q=tag:assembly&sort=stars&order=desc
此外,文档中没有讨论按标签搜索:https://help.github.com/en/github/searching-for-information-on-github/searching-code
如何使用 Github 搜索 API 按标签搜索?
标签被称为存储库的“主题”,因此使用 topic:
语法搜索带有标签的存储库。
我想找到所有带有特定标签和其他搜索条件的回购 api,例如所有带有标签 assembly
和 docker 作为自由文本的回购。
但是,tag:
前缀不起作用:https://api.github.com/search/repositories?q=tag:assembly&sort=stars&order=desc
此外,文档中没有讨论按标签搜索:https://help.github.com/en/github/searching-for-information-on-github/searching-code
如何使用 Github 搜索 API 按标签搜索?
标签被称为存储库的“主题”,因此使用 topic:
语法搜索带有标签的存储库。