Bexio API Client for Elixir
This is a simple client for the API described at https://docs.bexio.com/. It will support all functionality while also replacing enums with atoms and making the structs more useful in elixir.
Installation
If available in Hex, the package can be installed
by adding bexio_api_client to your list of dependencies in mix.exs:
def deps do
[
{:bexio_api_client, "~> 0.4.0"},
# if using the default http client:
{:req, "~> 0.4.11"},
]
endConfiguration
TBD
Changelog
0.4.0
-
Removing dependency to
tesla -
Adding
reqas optional dependency -
Adding
reqsetup for automatic access_token renewal and retry delay using bexio headers
Requirements:
The API uses Tesla for the client access to also handle the exponential back-off required in the documentation.
Documentation
Documentation can be generated with ExDoc and can be found at https://hexdocs.pm/bexio_api_client.
Building a release
- Update the versions in README.md, and mix.exs
- Actualize the CHANGELOG.md (once present)
-
Run
mix testandmix dialyzer - Create a git commit.
- Create a tag for the new version.
-
Execute
mix hex.publish