ex_nrel v0.1.0 ExNrel.Parser

Generic parser to parse all the NREL api responses

ToDO: XML support

Summary

Functions

Parses the response from NREL API calls

Types

response ::
  {:ok, [struct]} |
  {:ok, struct} |
  :ok |
  {:error, map, status_code} |
  {:error, map} |
  any
status_code :: integer

Functions

parse(response, format)

Specs

parse(tuple, String.t) :: response

Parses the response from NREL API calls