Postita.fi unofficial Node.js library. The library enables Postita.fi users to automate their use of the services, such as sending mail and electronic invoices through Postita.fi. It also allows users to query their job queue status, status of individual jobs and account status.
To send mail through Postita.fi, users can simply upload a PDF file to the service. Postita.fi then prints the PDF file on A4 sized paper in black and white or in color, put it into a big-windowed C5 or C4 envelope and send it.
API documentation: http://tpisto.github.io/postita
Features
- Supports all Postita.fi REST API features.
- Promise based
API documentation
Full library API documentation at: http://tpisto.github.io/postita
Examples
ES6 syntax. You can use Babel to already run ES6 syntax JS if your Node.js version doesn't support it yet.
let PostitaLib = let fs = // Initlet postita = 'my_user_name''my_password'let myPdf = fs // It is very simple to send the PDFpostita // This is how you can check your balance, etc.postita
Installation
$ npm install postita
Authors
License
ISC