-
Notifications
You must be signed in to change notification settings - Fork 12
/
finance.h
33 lines (31 loc) · 1.09 KB
/
finance.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
29
30
31
32
33
#include "web.h"
namespace gecko {
// Purpose: class interface to all CoinGecko 'finance' functions found below
// Refer: https://www.coingecko.com/api/documentations/v3#/finance_(beta)
// Status: beta, likely unstable - slightly tested
class financeFunctions : private web {
public:
// Action: fetches all finance platforms
// Returns: gecko::web::response
// Refer: https://www.coingecko.com/api/documentations/v3
// Example(s):
// listFinancePlatforms()
// Notes: none
DllExport gecko::web::response listFinancePlatforms(
OPTIONAL unsigned short per_page = 100,
OPTIONAL unsigned short page = 1
);
// Action: fetches all finance products
// Returns: gecko::web::response
// Refer: https://www.coingecko.com/api/documentations/v3
// Example(s):
// listFinanceProducts()
// Notes: none
DllExport gecko::web::response listFinanceProducts(
OPTIONAL const char* start_at = NULL,
OPTIONAL const char* end_at = NULL,
OPTIONAL unsigned short per_page = 100,
OPTIONAL unsigned short page = 1
);
};
}