class DarkSkyClient[F[_]] extends AnyRef
Non-caching Dark Sky client Allows forecast, current, and historical data requests This API does not support Geocoding - coordinates only For more detailed description go to: https://darksky.net/dev/docs
- F
effect type
- Alphabetic
- By Inheritance
- DarkSkyClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 likede
,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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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 likede
,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
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated