Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jzarca01/node-nestor
Nestor API wrapper for Node.js
https://github.com/jzarca01/node-nestor
Last synced: 3 months ago
JSON representation
Nestor API wrapper for Node.js
- Host: GitHub
- URL: https://github.com/jzarca01/node-nestor
- Owner: jzarca01
- Created: 2018-10-09T15:52:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-09T16:11:16.000Z (about 6 years ago)
- Last Synced: 2024-07-06T16:08:16.521Z (4 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-food - node-nestor - Nestor API wrapper for Node.js. (API for Food services / Only available for French market)
README
# node-nestor
Une API pour Nestor
## Usage
```javascript
const Nestor = require('node-nestor');
const nestor = new Nestor();
```### Register
```javascript
nestor.signUp(email, password);
```### Authentification
```javascript
nestor.login(email, password);
```### Get profile
```javascript
nestor.getProfile();
```### Update profile
```javascript
nestor.updateProfile({lastName, firstName, email, phone});
```### Get Stripe profile
```javascript
nestor.getStripeProfile();
```### Get menu by postal code
```javascript
nestor.getMenu(postalCode);
```### Get orders
```javascript
nestor.getOrders();
```### Get order by Id
```javascript
nestor.getOrderById(orderId);
```