【问题标题】:Get all cryptocurrencies github repositories on coingecko API在 coingecko API 上获取所有加密货币 github 存储库
【发布时间】:2020-11-12 03:04:32
【问题描述】:

如何获取所有加密货币的github主账号(哪里有)?

这些信息应该可以通过 Coingecko API 获取,例如我们可以看到 here 一行称为源代码,给出了比特币 github 存储库的地址。

我想使用 coingecko API 获取所有加密货币的 github,但我在 documentation 中没有找到任何相关信息。

是否有从该 API 获取此信息的选项?或者如果在 coingecko 上不可能,是否有另一个免费的 API 来获取这些信息?

任何帮助都会很棒!

【问题讨论】:

    标签: github cryptocurrency coingecko


    【解决方案1】:

    您可以在硬币详细信息端点(GET /coins/{id}docs)、属性links.repos_url 中获取回购 URL。

    例子:

    https://api.coingecko.com/api/v3/coins/bitcoin

    {
      "id": "bitcoin",
      ...
      "links": {
          ...
          "repos_url": {
            "github": [
              "https://github.com/bitcoin/bitcoin",
              "https://github.com/bitcoin/bips"
            ],
            "bitbucket": []
          }
      }
    }
    

    【讨论】:

      猜你喜欢
      • 2022-01-15
      • 2021-08-29
      • 1970-01-01
      • 2021-12-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-21
      相关资源
      最近更新 更多