Basic Client for OpenWeatherMap Api written in Swift 5 based on AsyncHttpClient
Create client with apikey and settings
let client = OpenWeatherMapClient(apiKey: "your_api_key)
client.unit = .celsius
client.languageCode = "de"
Units:
- Fahrenheit (default)
- Celsius
- Kelvin
Languages:
Default is english (en)
Language Codes can be found here
Add apiKey as environment variable in Xcode.
Please submit an issue on GitHub.
This project is licensed under the terms of the MIT license. See the LICENSE file.