Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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);
```