Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dominos

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dominos

API for domino's Pizza

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-dominos-pizza-api

This is a node.js wrapper for the Domino's pizza APIs

Install Domino's API

npm install dominos

Finding Nearby Domino's Locations

argumenttypedefaultrequired
addressfull or partial address stringnulltrue
callbackfunction to pass the api result tonulltrue
typeDelivery, Carryout, allallfalse

By Postal Code

*** this yeilds the least accurate information ***

dominos.store.find(
    '20500',
    function(storeData){
        console.log(storeData);
    }
);

By City and Postal Code

*** this yeilds less accurate information but is better than just using the postal code ***

dominos.store.find(
    'Beverly Hills 90210',
    function(storeData){
        console.log(storeData);
    }
);

Using Full or Nearly Full Address

*** this yeilds the best information and sorts stores by actual distance ***

dominos.store.find(
    '1600 Pennsylvania Ave NW, 20500',
    function(storeData){
        console.log(storeData);
    }
);

Domino's Store Info

argumenttypedefaultrequired
storeIDstring or intnulltrue
callbackfunction to pass the api result tonulltrue
//Get Store Info for Store #4336
dominos.store.info(
    4336,
    function(storeData){
        console.log(storeData);
    }
);

Menu for Specific Domino's Store Location

argumenttypedefaultrequired
storeIDstring or intnulltrue
callbackfunction to pass the api result tonulltrue
langlanguage stringenfalse
//Get Menu for Store #4336
dominos.store.menu(
    4336,
    function(storeData){
        console.log(storeData);
    }
);

Tracking Domino's Pizza

By Phone

argumenttypedefaultrequired
phonePhone number string or intnulltrue
callbackfunction to pass the api result tonulltrue
dominos.track.phone(
    2024561111,
    function(pizzaData){
        console.log(pizzaData);
    }
);

By orderKey

argumenttypedefaultrequired
orderKeystring or intnulltrue
storeIDsting or intnulltrue
callbackfunction to pass the api result tonulltrue
dominos.track.orderKey(
    123456,
    12345,
    function(pizzaData){
        console.log(pizzaData)
    }
);

Keywords

FAQs

Package last updated on 26 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc