-
Notifications
You must be signed in to change notification settings - Fork 12
/
global.h
25 lines (23 loc) · 869 Bytes
/
global.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
#include "web.h"
namespace gecko {
// Purpose: class interface to all CoinGecko 'global' functions found below
// Refer: https://www.coingecko.com/api/documentations/v3#/global
// Status: functional - untested
class globalFunctions : private web {
public:
// Action: fetches cryptocurrency global data
// Returns: gecko::web::response
// Refer: https://www.coingecko.com/api/documentations/v3
// Example(s):
// getGlobalCryptoData()
// Notes: none
DllExport gecko::web::response getGlobalCryptoData();
// Action: fetches cryptocurrency global decentralized finance(defi) data
// Returns: gecko::web::response
// Refer: https://www.coingecko.com/api/documentations/v3
// Example(s):
// getGlobalCryptoDefiData()
// Notes: none
DllExport gecko::web::response getGlobalCryptoDefiData();
};
}