API Reference Apicult v0.2.0

Modules

Example

access_token

# Example get
> http https://httpbin.org/get qs==$qs Authorization:"Bearer $access_token"
{
    "args": {
        "qs": "something"
    },
    "headers": {
        "Authorization": "Bearer something",
        ...
    },
    ...
}
defmodule Example do
  use Apicult, "example.api"
end

This generates the client and example_get methods, and the Client and ExampleGetResponse, which can be used as follows

Apicult definition parsing