Skip to content

ryanfarber/mastertour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

interact with the API for Mastertour

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published