-
Notifications
You must be signed in to change notification settings - Fork 12
/
categories.h
28 lines (26 loc) · 941 Bytes
/
categories.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "web.h"
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 {
public:
// Action: list all categories
// Returns: gecko::web::response
// Refer: https://www.coingecko.com/api/documentations/v3
// Example(s):
// getCategories();
// Notes: none
DllExport gecko::web::response getCategories();
// 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
DllExport gecko::web::response getCategoryMarketData(
OPTIONAL std::string order = "market_cap_desc"
);
};
}