gpt4 book ai didi

github - 获取GitHub上的组织列表

转载 作者:行者123 更新时间:2023-12-04 13:39:05 24 4
gpt4 key购买 nike

是否有一种变通方法来获取GitHub上的组织列表?

例如:https://github.com/showcases/open-source-organizations

我们如何通过GitHub API或GitHub搜索做到这一点?

最佳答案

您可以获得所有帐户的列表:

https://developer.github.com/v3/users/#get-all-users
type参数将告诉您它是用户还是组织。

一种替代方法是使用搜索API:

https://developer.github.com/v3/search/#search-users

您可以指定type:org仅获取组织:

https://api.github.com/search/users?q=type:org

关于github - 获取GitHub上的组织列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24867783/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com