Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.33 KB

README.md

File metadata and controls

50 lines (42 loc) · 1.33 KB

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"
  );