3 #include "../../include/nicehash-api.hpp" 18 std::string endpoint =
"https://api.nicehash.com/api?method=stats.provider.ex&addr=";
19 std::string url = endpoint + address;
21 std::string response = this->client->
get(url);
virtual std::string get(std::string const url)
GET request the provided url and return the response body as a string.
std::string getDetailedProviderStats(std::string address)
Get detailed current stats for provider for all algorithms.