1.0.4 • Published 2 years ago

mastertour v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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