0.0.3 • Published 6 years ago

skyline-js v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

skyline-js

Build Status

Check out your Skyline inbox with native Javascript

Skyline is a platform provided by the Nexxera Group to receive and send messages. This project is a non-official Node.JS package that implements an interface to its API, allowing you to check you inbox without having to run any binary file.

Getting Started

To add this module as a dependency to your project, you can simply npm install it:

npm install --save skyline-js

Here is an example of how to use this tool to get your inbox messages:

import Skyline from 'skyline-js'

const skyline = new Skyline({
  username: 'my-skyline-login',
  password: 'my-skyline-password'
})

skyline.getMessages({
  from: '2018-01-02', // default is today
  to: '2018-01-04'    // default is today,

  onlyDownloadHeaders: true // default is false
}).then(messages => {
  console.log(messages)
})

Contributing

This project is licensed under the MIT license. Please feel free to open issues and submitting pull requests!