Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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