mastertour
v1.0.4
Published
mastertour API
Maintainers
Readme
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 accountgetTour- get data for a given tourgetDay- get data about a specific daygetToday- returns data for current dategetDate- get data given a specified date
