dark_jason v0.1.5 DarkJason.Parser View Source

Generic parser to parse all the darksky api responses

Link to this section Summary

Functions

Parses the response from darksky API calls

Link to this section Types

Link to this type

response() View Source
response() ::
  {:ok, [struct()]}
  | {:ok, struct()}
  | :ok
  | {:error, map(), status_code()}
  | {:error, map()}
  | any()

Link to this type

status_code() View Source
status_code() :: integer()

Link to this section Functions

Parses the response from darksky API calls