Socket
Socket
Sign inDemoInstall

tipi-mews

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tipi-mews

This is a Node.js library which implements mews REST requests


Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

Tipi Mews SDK

This is a Node.js library which implements mews REST requests

How to use

Install

npm install --save tipi-mews

Example

const { Mews, Enums: { ReservationState } } = require('tipi-mews')

const mews = new Mews({
  clientToken: 'your client token',
  demoServer: true // set this flag if you want to call mews demo server
})

mews.getAllReservation({
  AccessToken: 'your access token',
  StartUtc: '2019-08-01T10:00:00Z',
  EndUtc: '2019-09-01T10:00:00Z',
  States: [
    ReservationState.Created,
    ReservationState.Canceled
  ]
})
.then(result => {
  console.log(result)
})
.catch(error => {
  console.log(error)
})

Keywords

FAQs

Package last updated on 13 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc