mastertour

1.0.4 • Public • Published

mastertour

interact with the API for Master Tour

this is a work in progress and should not be used for production!

usage

const Mastertour = require("mastertour")
const mastertour = new Mastertour({
    key: process.env.MASTERTOUR_KEY,
    secret: process.env.MASTERTOUR_SECRET
    tourId: "abcdefg1234567" // optional tour id which will be used for calls
})

mastertour.getTours().then(console.log)

methods

  • getTours - get a list of all tours from your account
  • getTour - get data for a given tour
  • getDay - get data about a specific day
  • getToday - returns data for current date
  • getDate - get data given a specified date

Package Sidebar

Install

npm i mastertour

Weekly Downloads

2

Version

1.0.4

License

ISC

Unpacked Size

12.7 kB

Total Files

10

Last publish

Collaborators

  • ryanforever