Hacker News new | ask | show | jobs
by neurostimulant 1376 days ago
The API is only for apple devices, right? Web apps that uses Dark Sky's API (like the gp's webapp) will absolutely get killed.

Edit: I was wrong. It has REST API and access from other platforms are allowed.

3 comments

Nope. Should be able to use it as a REST API on other platforms too.

> It’s easy to use WeatherKit in your apps for iOS 16, iPadOS 16, macOS 13, tvOS 16, and watchOS 9 with a platform-specific Swift API, and on any other platform with a REST API. [0]

0: https://developer.apple.com/weatherkit/

REST API is available. Up to 500,000 API calls a month.

https://developer.apple.com/weatherkit/get-started/

nope, it has a REST API. https://developer.apple.com/documentation/weatherkitrestapi

I know people who are already using it in random python scripts and whatnot, e.g. https://sixcolors.com/post/2022/06/adding-apple-weatherkit-d...