using the latest cgminer_api_client