View Source Apple.WeatherKitRestAPI (apple v0.5.0)

Utilities for WeatherKit REST API.

Summary

Functions

Builds a token to authorize HTTP requests.

Functions

Link to this function

build_auth_token!(team_id, key_id, private_key, service_id)

View Source

Builds a token to authorize HTTP requests.

After building it, use it in the Authorization header like this:

Authorization: Bearer <JWT>

More resources