0.0.1 • Published 7 years ago

timhortons v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

timhortons

Description

Tim Hortons store finder

Installation

npm install --save timhortons

Usage

const timhortons = require('timhortons');

const opts = {
  rad: 5,
  origlat: 43.446579,
  origlng: -79.696926
};

timhortons(opts)
.then(function (stores) {
  console.log(stores);
});

Documentation

timhortons(options)

options

Type: object Required: true

options.rad

Type: number Required: false Default: 5 Description: Search radius in KM

options.origlat

Type: number Required: true Description: Latitude

options.origlng

Type: number Required: true Description: Longitude