pub(crate) fn setup_jwt() -> String
Expand description

Setup the JSON Web Token from the required environment variables.

Arguments

  • None

Required Environment Variables

  • WEATHERKIT_KEY_ID
  • WEATHERKIT_SERVICE_ID
  • WEATHERKIT_TEAM_ID
  • WEATHERKIT_KEY_PATH

See https://github.com/hrbrmstr/weatherkit-rust/blob/batman/authorization.md for how to set up those values.