An open API service indexing awesome lists of open source software.

https://github.com/3zcurdia/cpsc

A simple Elixir wrapper for the Consumer Product Safety Commission api.
https://github.com/3zcurdia/cpsc

api cpsc wrapper

Last synced: 8 months ago
JSON representation

A simple Elixir wrapper for the Consumer Product Safety Commission api.

Awesome Lists containing this project

README

          

# Cpsc

A simple Elixir wrapper for the [Consumer Product Safety Commission](https://cpsc.gov/) api.

## Installation

The package can be installed by adding `cpsc` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:cpsc, "~> 0.1.0"}
]
end
```

## Usage

```elixir
Cpsc.yearly_recalls(2019)
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .