added support for ip_api_key in config