Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hansemannn/titanium-weather-kit
Use the iOS 16+ WeatherKit APIs in Titanium!
https://github.com/hansemannn/titanium-weather-kit
ios16 javascript module tidev titanium weatherkit xcode14
Last synced: 3 months ago
JSON representation
Use the iOS 16+ WeatherKit APIs in Titanium!
- Host: GitHub
- URL: https://github.com/hansemannn/titanium-weather-kit
- Owner: hansemannn
- License: mit
- Created: 2022-06-25T12:20:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T20:02:59.000Z (about 1 year ago)
- Last Synced: 2024-05-01T20:24:04.698Z (10 months ago)
- Topics: ios16, javascript, module, tidev, titanium, weatherkit, xcode14
- Language: Swift
- Homepage:
- Size: 175 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Titanium iOS 16+ WeatherKit
Use the iOS 16+ WeatherKit APIs in Titanium!
## Requirements
- [x] Xcode 14+
- [x] iOS 16+
- [x] WeatherKit enabled in the developer portal / entitlements## Example
```js
import WeatherKit from 'ti.weatherkit';WeatherKit.getWeather({
latitude: 37.322998,
longitude: -122.032181,
callback: event => {
console.warn(event.currentWeather);
}
});
```## Author
Hans Knöchel
## License
MIT