Skip to content

Commit

Permalink
prepped docs for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
RIAEvangelist committed Dec 9, 2015
1 parent f4a07c7 commit 2d80060
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Note: the 'address' parameter is passed to the Address class. This means any for
***this yields the least accurate information***

```javascript

var pizzapi = require('dominos'); // or without payment option use require('pizzapi');

pizzapi.Util.findNearbyStores(
Expand All @@ -91,6 +92,7 @@ pizzapi.Util.findNearbyStores(
console.log(storeData);
}
);

```

### By City and Postal Code
Expand All @@ -113,6 +115,7 @@ pizzapi.Util.findNearbyStores(
***this yields the best information and sorts stores by actual distance***

```javascript

var pizzapi = require('dominos'); // or without payment option use require('pizzapi');

pizzapi.Util.findNearbyStores(
Expand All @@ -122,6 +125,7 @@ pizzapi.Util.findNearbyStores(
console.log(storeData);
}
);

```

---
Expand All @@ -134,6 +138,7 @@ Store
|ID |Integer|null|true |

```javascript

//Get Store Info for Store #4336
var pizzapi = require('dominos'); // or without payment option use require('pizzapi');
var myStore = new pizzapi.Store();
Expand All @@ -144,6 +149,7 @@ Store
console.log(storeData);
}
);

```

### Store menu
Expand All @@ -164,6 +170,7 @@ Store
console.log(storeData);
}
);

```

### Store info
Expand All @@ -183,6 +190,7 @@ Store
console.log(storeData);
}
);

```

### Friendly menu list
Expand All @@ -204,6 +212,7 @@ Returns a list of all items the store offers in an JSON array, formatted {Code:
console.log(storeData);
}
);

```

---
Expand Down

0 comments on commit 2d80060

Please sign in to comment.