Utilities for WeatherKit REST API.
Summary
Functions
Builds a token to authorize HTTP requests.
Functions
@spec build_auth_token!( NeedleApple.Types.Developer.team_id(), NeedleApple.Types.Developer.key_id(), NeedleApple.Types.Developer.private_key(), NeedleApple.Types.Developer.service_id() ) :: String.t()
Builds a token to authorize HTTP requests.
After building it, use it in the Authorization header like this:
Authorization: Bearer <JWT>