Basic build and NPM-Package is in ES6!
NPM Package for the API of Bexio
The typings for the module are already included in the package
The whole documentation of the API can be found here: https://docs.bexio.com/
NodeJS >= 18.14
Not all API endpoints are implemented yet. If an endpoint you need is missing, please open a pull request.
How to use this library
// import the module
import Bexio from "bexio";
// init the module with the API_TOKEN
const bexio = new Bexio(API_TOKEN);
// show the contact with ID 1 (Promise)
bexio.contacts.show(1).then((contact) => {
console.log(contact);
});- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
MIT