Packages

class DarkSkyCacheClient[F[_]] extends DarkSkyClient[F]

Linear Supertypes
DarkSkyClient[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DarkSkyCacheClient
  2. DarkSkyClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cachingTimeMachine(latitude: Float, longitude: Float, dateTime: ZonedDateTime, exclude: List[BlockType] = List.empty[BlockType], extend: Boolean = false, lang: Option[String] = None, units: Option[Units] = None)(implicit M: Monad[F]): F[Either[WeatherError, DarkSkyResponse]]

    Gets DarkSkyResponse for the specified date (alignes time to midnight) from the cache, if not found, then performs the request

    Gets DarkSkyResponse for the specified date (alignes time to midnight) from the cache, if not found, then performs the request

    IMPORTANT

    Returned DarkSkyResponse's currently field excluded, because the time is always aligned to midnight

    latitude

    The latitude of a location. Positive is north, negative is south.

    longitude

    The longitude of a location. Positive is east, negative is west.

    dateTime

    zoned datetime, time is aligned to midnight

    returns

    either weather error or dark sky response, wrapper in effect type F

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def forecast(latitude: Float, longitude: Float, exclude: List[BlockType] = List.empty[BlockType], extend: Boolean = false, lang: Option[String] = None, units: Option[Units] = None): F[Either[WeatherError, DarkSkyResponse]]

    Forecast request that returns the current weather condition, a minute-by-minute forecast (where available), an hour-by-hour forecast for the next 48 hours, and a day-by-day forecast for the next week

    Forecast request that returns the current weather condition, a minute-by-minute forecast (where available), an hour-by-hour forecast for the next 48 hours, and a day-by-day forecast for the next week

    latitude

    The latitude of a location. Positive is north, negative is south.

    longitude

    The longitude of a location. Positive is east, negative is west.

    exclude

    blocks to exclude from the response

    extend

    if true, hourly will be extended to 168 hours instead of 48

    lang

    returns summary field in the specified language (use codes like de, ru) full list at Dark Sky docs

    units

    return weather conditions in the specified units

    returns

    either error or response, wrapped in effect type F

    Definition Classes
    DarkSkyClient
  10. val geoPrecision: Int

    nth part of 1 to which latitude and longitude will be rounded

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def timeMachine(latitude: Float, longitude: Float, dateTime: ZonedDateTime, exclude: List[BlockType] = List.empty[BlockType], extend: Boolean = false, lang: Option[String] = None, units: Option[Units] = None): F[Either[WeatherError, DarkSkyResponse]]

    "Time Machine Request" - returns the observed (in the past) or forecasted (in the future) hour-by-hour weather and daily weather conditions for the provided date

    "Time Machine Request" - returns the observed (in the past) or forecasted (in the future) hour-by-hour weather and daily weather conditions for the provided date

    latitude

    The latitude of a location. Positive is north, negative is south

    longitude

    The longitude of a location. Positive is east, negative is west

    dateTime

    Datetime that will be converted to the Unix timestamp for the actual request

    exclude

    blocks to exclude from the response

    extend

    if true, hourly will be extended to 168 hours instead of 48

    lang

    returns summary field in the specified language (use codes like de, ru) full list at Dark Sky docs

    units

    return weather conditions in the specified units

    returns

    either error or response, wrapped in effect type F

    Definition Classes
    DarkSkyClient
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from DarkSkyClient[F]

Inherited from AnyRef

Inherited from Any

Ungrouped