Added client.getApiStatus() to determine API status.