ExSwapi
Wrapper for The Star Wars API
Usage
ex_swapi is an Elixir wrapper of The Star Wars API.
API
ExSwapi.all(:planets)
ExSwapi.find(:planets, 1)
ExSwapi.search(:planets, "jupiter")
TODO (Upcoming features)
Refer to TODO.md.
Installation
If available in Hex, the package can be installed
by adding ex_swapi
to your list of dependencies in mix.exs
:
def deps do
[{:ex_swapi, "~> 0.1.0"}]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_swapi.