use https if a key is provided

If a user provides a key to the api, the endpoint must be https.
Why should it be renamed to https?

Supplying the querystring "key" should automatically switch to the https protocol, so it's transparent to the user and is still compatible with Google's API.

Then document that you can supply a "key" option that will send your Google API key along with the request (and switch to https internally).