darksky 0.5.0

An unofficial Rust wrapper for the darksky.net API.

Crate darksky [] [src]

Structs

Alert
Datablock
Datapoint
Flags
Forecast
Options

Build a list of options to send in the request, including the type of units that the API should send back, the blocks to exclude, whether to extend the hourly forecast, and the language for the summary.

Enums

Block

A block is a name of a Datablock returned from the API. This can be used to exclude datablocks from being returned from the API, to reduce bandwidth.

Error
Icon
Language

The language to return from the API for the "summary" field.

PrecipitationType
Unit

The type of units that the API should send back. Auto is the default value, and does not need to be specified in that case.

Functions

get_forecast
get_forecast_with_options

Type Definitions

Result