简体   繁体   中英

Get all cryptocurrencies github repositories on coingecko API

How can I get all cryptocurrencies github main accounts (where there is one)?

This information should be able with Coingecko API, as for instance we can see here a line called source code giving the address of the bitcoin github repository.

I want to get the githubs using coingecko API for all cryptocurrencies but I did not find any information for that in the documentation .

Is there an option to get this information from this API? Or is there another free API for getting this information if this is not possible on coingecko?

Any help would be great !

You can get the repo URLs in the coin detail endpoint ( GET /coins/{id} , docs ), property links.repos_url .

Example:

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": []
      }
  }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM