Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Here's the answer I received from Apple DTS.
As for attribution, there is a REST API call for attribution, though looking at the documentation, I see it is not listed. I've already filed a request to have that added (r. 102144735). I encourage you to file your own feedback about this; feel free to reference the bug I filed when you do so. https://feedbackassistant.apple.com.
The call is
https://weatherkit.apple.com/attribution/{locale}
which returns JSON, with the attribution images and localized name for WeatherKit in that locale. For example
https://weatherkit.apple.com/attribution/en-US
returns
{
"logoDark@3x": "/assets/branding/en/Apple_Weather_wht_en_3X_090122.png",
"logoLight@1x": "/assets/branding/en/Apple_Weather_blk_en_1X_090122.png",
"logoDark@2x": "/assets/branding/en/Apple_Weather_wht_en_2X_090122.png",
"logoDark@1x": "/assets/branding/en/Apple_Weather_wht_en_1X_090122.png",
"logoLight@2x": "/assets/branding/en/Apple_Weather_blk_en_2X_090122.png",
"logoLight@3x": "/assets/branding/en/Apple_Weather_blk_en_3X_090122.png",
"logoSquare@2x": "/assets/branding/square-mark@2x.png",
"serviceName": "\uf8ff Weather",
"logoSquare@1x": "/assets/branding/square-mark.png",
"logoSquare@3x": "/assets/branding/square-mark@3x.png"
}