vatapi
Version:
vatapi.com API Nodejs library.
65 lines (42 loc) • 1.17 kB
Markdown
[](https://nodei.co/npm/vatapi/)
--
[](https://vatapi.com/) Nodejs library.
It wraps the HTTP api library described [here](https://vatapi.com/console/#!/api/).
Based on the NodeJS HTTP API wrapper of gitlab described [here](https://github.com/node-gitlab/node-gitlab)
Maintained by [Pieter Soudan](https://github.com/Sewdn).
```bash
npm install vatapi
```
```coffee
vatapi = (require 'vatapi')
key: 'your_key'
vatapi.vat.number_check (err, result) ->
console.log result
```
```javascript
// Connection
var vatapi = require('vatapi')({
key: 'your_key'
});
// check a vat
vatapi.vat.number_check(function(err, result) {
console.log(result);
});
```
Install coffee-script globally: 'npm install -g coffee-script'.
Edit the Coffee-Script files in `src`, then build them using `cake build`.
Use `cake watch` to build files continuously while developing.
- [Pieter Soudan](https://github.com/Sewdn)
MIT