if (is_null($api_secret)) {
            return false;
            throw new Exception("Cannot instantiate " . __CLASS__ . " because no API secret was provided");
        }