11 void throwExceptionIfAlgorithmInvalid (
int algorithm_id);
12 void throwExceptionIfLocationInvalid (
int location_id);
40 this->client = new_client;
std::string getCurrentGlobalStats()
Get current global stats.
std::string getSimpleMultiAlgorithmInfo()
std::string getAverageGlobalStats()
Get average (24h) global stats.
std::string getProviderWorkerStats(std::string address, int algorithm_id)
Get detailed stats for a provider's workers by algorithm id.
std::string getApiVersion()
Get API version.
std::string getDetailedProviderStats(std::string address)
Get detailed current stats for provider for all algorithms.
NiceHashApi(Client *new_client)
std::string getOrdersByAlgorithm(int algorithm_id, int location_id)
Get all orders for a given algorithm id.
int algorithmNameToId(std::string algorithm_name)
Convert an algorithm name to its id.
std::string getMultiAlgorithmInfo()
std::string getProviderStats(std::string address)
Get current stats for provider for all algorithms.
std::string algorithmIdToName(int algorithm_id)