libwolfram20
WAEngine Class Reference

Wolfram API access point. More...

#include <WAEngine.h>

Public Member Functions

 WAEngine (std::string appID, std::string server="api.wolframalpha.com", std::string path="/v2/query")
 Constructor with another config. More...
 
std::string getURL (std::string input)
 Returns a URL for HTTP request, using the internal WAQuery object. More...
 
WAResult getResult (std::string inputData)
 Parsing data from a external array of char. More...
 
void setTimeout (unsigned int timeout)
 It sets the max search time. More...
 

Static Public Member Functions

static bool DownloadURL (std::string url, std::string *readBuffer)
 Given an url it downloads its HTML contents. More...
 

Data Fields

WAQuery query
 Query to make the request.
 

Private Attributes

std::string server
 Config of WolframAlpha address.
 
std::string path
 Config of WolframAlpha address.
 
std::string appID
 Config of WolframAlpha address.
 

Detailed Description

Wolfram API access point.


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