in example usage, strip api key of whitespace