swapi v1.0.0 Swapi
Simple wrapper for the Star Wars API
Summary
Functions
Gets a list of all resources from the Star Wars Universe Example:
iex> Swapi.all("people")
{:ok, {[...]}}
Gets the root url with a list of available resources Example:
iex> Swapi.root
{:ok, {...}}
Gets the schema for any specific resource Example:
iex> Swapi.schema("people")
{:ok, {...}}
Gets an individual resurce from the Star Wars Universe Example:
iex> Swapi.single("people", 1)
{:ok, {[...]}}
Functions
Gets a list of all resources from the Star Wars Universe Example:
iex> Swapi.all("people")
{:ok, {[...]}}
Gets the schema for any specific resource Example:
iex> Swapi.schema("people")
{:ok, {...}}