A simple Elixir wrapper for the Consumer Product Safety Commission api.
The package can be installed by adding cpsc
to your list of dependencies in mix.exs
:
def deps do
[
{:cpsc, "~> 0.1.0"}
]
end
Cpsc.yearly_recalls(2019)
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cpsc.