ExViva (ex_viva v0.1.2)

This modules provides functions to fetch imformation from the Swedish Maritime Administration. The data from the API is not interpreted in any way, it is just normalized and parsed into appropriate Elixir datatypes.

Summary

Functions

Link to this function

get_station(station_id, opts \\ [])

Get observations for a particaluar station.

Station_id can be a number, a %ExViva.Station{} struct or anything that implements the Viva.StationIdentity protocol.

Link to this function

get_station_request(station_id, opts \\ [])

Link to this function

get_stations(opts \\ [])

Returns a list of %ExViva.Station{} structs.

Link to this function

get_stations_request()

Link to this function

sample_all(opts \\ [])