Skip to content

Latest commit

 

History

History
 
 

events

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

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


Class

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

Declarations

Below you can find documentation for 'events' functions.

events/getEvents

  // Action: fetches events
  // Returns: gecko::web::response
  // Refer: https://www.coingecko.com/api/documentations/v3
  // Example(s):
  //    getEvents()
  //    getEvents("CN", "Meetup")
  // Notes: parameters from and to_date are in format yyyy-mm-dd
  gecko::web::response getEvents(
    OPTIONAL std::string country_code = "US",
    OPTIONAL std::string type = "Conference",
    OPTIONAL unsigned short page = 1,
    OPTIONAL bool upcoming_events_only = false,
    OPTIONAL const char* from_date = NULL,
    OPTIONAL const char* to_date = NULL
  );

events/getEventCountries

  // Action: fetches list of event countries
  // Returns: gecko::web::response
  // Refer: https://www.coingecko.com/api/documentations/v3
  // Example(s):
  //    getEventCountries()
  // Notes: none
  gecko::web::response getEventCountries();

events/getEventTypes

  // Action: fetches list of event types
  // Returns: gecko::web::response
  // Refer: https://www.coingecko.com/api/documentations/v3
  // Example(s):
  //    getEventTypes()
  // Notes: none
  gecko::web::response getEventTypes();