factory module
- class georapid.factory.EnvironmentClientFactory
Represents a factory creating client instances using the system environment. The environment must offer various variables for authenticating against the web service endpoints.
- static create_client()
Creates a new client using ‘x_rapidapi_url’, ‘x_rapidapi_host’ and ‘x_rapidapi_key’ environment variables. Raises a ValueError when these variables are not defined!
- static create_client_with_host(host)
Creates a new client using ‘x_rapidapi_key’ enironment variable. Raises a ValueError when this variable is not defined!