curl_stocks
|
Wraps alphavantage API. Fetches stock data using curl. More...
#include <api.h>
Public Member Functions | |
Api () | |
Default constructor. | |
Api (std::string apikey, std::string cert_path) | |
Constructor. | |
void | fetch (std::string const &function, std::string const &symbol, std::string &stock_data) |
Fetch stock data. | |
~Api () | |
Destructor cleans up curl objects. | |
Wraps alphavantage API. Fetches stock data using curl.