Quickly create API clients using module attributes, inspired by retrofit.<p>https:&#x2F;&#x2F;github.com&#x2F;oarrabi&#x2F;exrequester<p>For example, this is a quick sample API Client.<p><pre><code>    defmodule SampleAPI do
      use EXRequester

      @headers [
        Authorization: :auth,
        Accept: &quot;application&#x2F;json&quot;,
        &quot;Accept-Language&quot;: &quot;en-US&quot;
      ]
      @get &quot;&#x2F;path&#x2F;to&#x2F;resource&#x2F;{resource_id}&quot;
      defreq get_resource(resource_id: resource_id, auth: auth)
    end

</code></pre>
And now you can call it with:<p><pre><code>    SampleAPI.client(&quot;http:&#x2F;&#x2F;base_url.com&quot;)
    |&gt; SampleAPI.get_resource(resource_id: 123, auth1: &quot;1&quot;)</code></pre>
EXRequester:Elixir library to quickly create API clients using module attributes