Better to raise an exception here unless you choose to make the api_key required which will mean it will blow up automatically if the key isn't supplied.