Function weatherkit::setup_jwt
source · [−]pub(crate) fn setup_jwt() -> StringExpand description
Setup the JSON Web Token from the required environment variables.
Arguments
- None
Required Environment Variables
WEATHERKIT_KEY_IDWEATHERKIT_SERVICE_IDWEATHERKIT_TEAM_IDWEATHERKIT_KEY_PATH
See https://github.com/hrbrmstr/weatherkit-rust/blob/batman/authorization.md for how to set up those values.