View Source Apple.WeatherKit.Config (apple_weather_kit v0.5.0)
Builds %Config{}
struct with required options.
team_id
The 10-character Team ID from your developer account.
service_id
The registered Service ID, like "com.example.weatherkit-client"
.
key_id
A 10-character private key identifier you obtain from your developer account.
private_key
The content of private key which is downloaded from your developer account, like:
-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxx
-----END PRIVATE KEY-----
But, how to get these values?
Read "Create a private key and Service ID" section of Request authentication for WeatherKit REST API for more details.