Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/doneill/weather-map

Integrating weather and maps
https://github.com/doneill/weather-map

android arcgis-android arcgis-runtime gradle kotlin kotlin-android places-autocomplete weathermap

Last synced: about 1 month ago
JSON representation

Integrating weather and maps

Awesome Lists containing this project

README

        

# Weather Map
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=doneill_weather-map&metric=alert_status)](https://sonarcloud.io/dashboard?id=doneill_weather-map)

An Android app integrating OpenWeatherMap, Google Places API, and ArcGIS Runtime Android SDK using [Kotlin](https://kotlinlang.org/).

![weather map image](weather-map.png)

## Dependencies
- [Kotlin Anko](https://github.com/Kotlin/anko)
- [Kotlin Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html)
- [ArcGIS Android](https://developers.arcgis.com/android/)
- [Google Places API](https://developers.google.com/places/web-service/intro)
- [Open Weather Map](https://openweathermap.org/)
- [Retrofit](http://square.github.io/retrofit/)

## API Keys
This app uses 3 developer products that requiring API keys to enable its full capabilities:

- [ArcGIS Runtime](https://developers.arcgis.com/documentation/mapping-apis-and-services/security/#api-keys): The mapping engine and coordinate conversion tool
- [OpenWeather API](https://openweathermap.org/appid): Current weather for location by coordinate or place name
- [Google Places API](https://developers.google.com/maps/documentation/places/web-service/get-api-key): Search for places with detailed information and autocomplete when user types in search box

Once you have registered the app and received your API keys you can use them by creating a **gradle.properties** file in the root of the **app** module with a string value pair representing your API Keys. This file is not tracked in Git to keep personal API keys secret.

```bash
API_KEY = "YOUR-OPEN-WEATHER-API-KEY"
PLACES_API_KEY = "YOUR-GOOGLE-PLACES-API-KEY"
ARCGIS_KEY = "YOUR-ARCGIS-RUNTIME-API-KEY"
```

## Contributors


## Licensing
A copy of the license is available in the repository's [LICENSE](LICENSE) file.