Base client trait with defined client methods such a historyById
, historyByName
common for subclasses
Basic trait responsible for receiving data via HTTP Also supposed to be responsible for establishing HTTP connection
Scalaj based transport
Asynchronous OpenWeatherMap client
Blocking OpenWeatherMap client with history (only) cache Uses AsyncOwmClient under the hood, have same method set, which return Weather instead of Future[Weather]
Blocking OpenWeatherMap client with history (only) cache Uses AsyncOwmClient under the hood, have same method set, which return Weather instead of Future[Weather]
WARNING. This client uses pro.openweathermap.org for data access, It will not work with free OWM licenses.
Defines logic for store records (LRU) and obtaining bucket's key (day, place)
Defines logic for store records (LRU) and obtaining bucket's key (day, place)
exact type of weather records to store. However now it could be used only only for History lookups
Module for various predefined values in OWM specification
Companion object for async client
Companion object for OwmClient with default transport based on akka http
Case classes used for extracting data from JSON
Base client trait with defined client methods such a
historyById
,historyByName
common for subclassesresponse wrapper for
Client
subclass, such asFuture
allreceive
logic should be wrapped in it