Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jzarca01/node-mcdofrance
API for McDonald's France
https://github.com/jzarca01/node-mcdofrance
Last synced: about 1 month ago
JSON representation
API for McDonald's France
- Host: GitHub
- URL: https://github.com/jzarca01/node-mcdofrance
- Owner: jzarca01
- Created: 2018-10-07T13:19:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-07T13:25:58.000Z (about 6 years ago)
- Last Synced: 2024-08-04T00:11:06.866Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-food - node-mcdofrance - API for McDonald's France. (API for Food services / Only available for French market)
README
# node-mcdofrance
An API for McDonald's France
## Usage
```javascript
const Mcdo = require('node-mcdofrance');
const mcdo = new Mcdo({
clientId: '',
clientSecret: ''
});
```### Get token to access resources
```javascript
mcdo.getAccessToken();
```### Get restaurant details
```javascript
mcdo.getRestaurantDetails(restaurantId);
```### Get products
```javascript
mcdo.getProducts();
```### Get product details
```javascript
mcdo.getProductDetails(productId);
```