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 >= 10.0
You can find a list of all implements functions in the wiki
You can find a list of all missing functions here: Missing Functions.
If you need a function implemented, please fill out an issue.
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