Skip to content

Latest commit

 

History

History

categories

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Documentation resources for CoinGecko's 'categories' API functions.


Class

namespace gecko {
  // Purpose: class interface to all CoinGecko 'categories' functions found below
  // Refer: https://www.coingecko.com/api/documentations/v3#/categories
  // Status: functional - slightly tested
  class categoriesFunctions : private web {
    ...
  };
}

Declarations

Below you can find documentation for 'categories' functions.

categories/getCategories

  // Action: list all categories
  // Returns: gecko::web::response
  // Refer: https://www.coingecko.com/api/documentations/v3
  // Example(s):
  //    getCategories();
  // Notes: none
  gecko::web::response getCategories();

categories/getCategoryMarketData

  // Action: list all categories with market data
  // Returns: gecko::web::response
  // Refer: https://www.coingecko.com/api/documentations/v3
  // Example(s):
  //    getCategoryMarketData();
  //    getCategoryMarketData("market_cap_asc");
  // Notes: none
  gecko::web::response getCategoryMarketData(
    OPTIONAL std::string order = "market_cap_desc"
  );