NeedleApple.WeatherKitRestAPI (needle_apple v0.1.1)

Copy Markdown View Source

Utilities for WeatherKit REST API.

Summary

Functions

Builds a token to authorize HTTP requests.

Functions

build_auth_token!(team_id, key_id, private_key, service_id)

Builds a token to authorize HTTP requests.

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

Authorization: Bearer <JWT>

More resources