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

https://github.com/jzarca01/node-ubereats

A work in progress API for Uber Eats
https://github.com/jzarca01/node-ubereats

api-wrapper food nodejs uber-api

Last synced: 16 days ago
JSON representation

A work in progress API for Uber Eats

Awesome Lists containing this project

README

        

# node-ubereats

A _work in progress_ API for Uber Eats

## Installation

```shell
npm install --save node-ubereats
```

## Usage

```javascript
const UberEats = require('node-ubereats');
const uber = new UberEats({
latitude: 48.8563148,
longitude: 2.3227369,
formattedAddress: '16 Rue de Rochechouart, 75009 Paris'
});
```

## Methods

### Get restaurants

```javascript
uber.getRestaurants();
```

### Search for restaurants

```javascript
uber.searchRestaurants((searchQuery = 'Indian'));
```

### Get store details

```javascript
uber.getStoreDetails(storeUuid);
```