web_monitoring.db.Client.from_env¶
-
classmethod
Client.
from_env
(**kwargs)[source]¶ Instantiate a
Client
by obtaining its authentication info from these environment variables:WEB_MONITORING_DB_URL
(optional – defaults tohttps://api.monitoring.envirodatagov.org
)WEB_MONITORING_DB_EMAIL
WEB_MONITORING_DB_PASSWORD
Any extra parameters (e.g.
timeout
) are passed to theClient
constructor.