Skip to content

yocontra/papajohns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

papajohns NPM version Downloads Support us Build Status Coveralls Status

Information

Packagepapajohns
Description Unofficial API client
Node Version >= 0.10

Usage

var papajohns = require('papajohns');

// also supports apt, floor, and suite
var customer = papajohns.customer({
  type: "home", // home or business
  address: "2939 W Durango Street",
  city: "Phoenix",
  state: "AZ"
});

// Find the nearest delivery store
customer.stores(function(err, stores){
  if (!stores.Delivery) throw "No delivery available";
  console.log(stores.Delivery[0]);
});

Like what we do?

About

Client for the unofficial Papa Johns API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published