curl_stocks
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Api Class Reference

Wraps alphavantage API. Fetches stock data using curl. More...

#include <api.h>

Collaboration diagram for Api:
Collaboration graph

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.
 

Detailed Description

Wraps alphavantage API. Fetches stock data using curl.


The documentation for this class was generated from the following files: