Home

Awesome

node-nestor

Une API pour Nestor

Usage

const Nestor = require('node-nestor');
const nestor = new Nestor();

Register

nestor.signUp(email, password);

Authentification

nestor.login(email, password);

Get profile

nestor.getProfile();

Update profile

nestor.updateProfile({lastName, firstName, email, phone});

Get Stripe profile

nestor.getStripeProfile();

Get menu by postal code

nestor.getMenu(postalCode);

Get orders

nestor.getOrders();

Get order by Id

nestor.getOrderById(orderId);