Skip to content
forked from D7EAD/CoinGecko

A C++20 library for CoinGecko--a cryptocurrency data service.

License

Notifications You must be signed in to change notification settings

chorusg/CoinGecko

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A C++20 library for the cryptocurrency data provider, CoinGecko.


Description

CoinGecko is a service that provides a fundamental analysis of the crypto market. As one of the largest and earliest crypto data aggregators--operating since early 2014--it currently tracks nearly 6283 tokens from more than 428 cryptocurrency exchanges. In addition to tracking price, volume and market capitalization, it tracks community growth, open-source code development, major events, and on-chain metrics. Its objective is to elevate crypto participants’ understanding of fundamental factors that drive the market.

With this C++ library--being one of many open-source API libraries--you can retrieve useful cryptocurrency and market-related information on the fly within any respective application using a simple syntax.


Installation

To use in your project(s), simply download the latest CoinGecko release and link to the appropriate set of included libraries. Keep in mind that if the release you choose--or the latest available--is a pre-release, expect untested functionality.

You can find a starting point, sample code, and all other documentation within /documentation.


Dependencies

CoinGecko depends on the following packages:
  • cURL : C library for HTTP(S) things
  • CPR : cURL wrapper to make it less monotonous*
  • OpenSSL : to be able to make HTTPS requests
Notes:
  • All dependencies used to compile CoinGecko were implemented via vcpkg.
  • *CPR version in use is v1.5.2 as vcpkg has that as its most recent indexed version.

Structure

This repository abides by the following structure:

  CoinGecko/            : root
    src/                   : source files directory
      include/                : header files directory
    documentation/         : base documentation folder
      coins/                  : API 'coins' functions
      contract/               : API 'contract' functions
      derivatives/            : API 'derivatives' functions
      events/                 : API 'events' functions
      exchange_rates/         : API 'exchange_rates' functions 
      exchanges/              : API 'exchanges' functions
      finance/                : API 'finance' functions
      global/                 : API 'global' functions
      indexes/                : API 'indexes' functions
      simple/                 : API 'simple' functions
      status_updates/         : API 'status_updates' functions
      trending/               : API 'trending' functions
    vs/                    : Visual Studio solution folder  
    images/                : image folder for repository

About

A C++20 library for CoinGecko--a cryptocurrency data service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%