Skip to content
Unofficial Node API for Deliveroo
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc.json
.gitignore
README.md
index.js
package-lock.json
package.json
yarn.lock

README.md

node-deliveroo

An API for Deliveroo

Usage

const Deliveroo = require('node-deliveroo');
const deliveroo = new Deliveroo();

Sign up

deliveroo.signUp(login, password);

Log in

deliveroo.login(login, password);

Update profile

deliveroo.updateProfile(userId, {mobile = '', lastName, marketingPreferences = {}, firstName});

Add a voucher to an account

deliveroo.addVoucherToUser(userId, voucher);

Get user order history

deliveroo.getHistory(userId);

Get order details

deliveroo.getOrderDetails(orderId, userId);

Get available restaurants

deliveroo.getAvailableRestaurants(lat, lng);

Get available categories

deliveroo.getAvailableCategories(lat, lng);

Get available restaurant in specific category

deliveroo.getAvailableRestaurantsInCategory(lat, lng, categoryId);

Get restaurant details

deliveroo.getRestaurantDetails(restaurantId);

Get list of saved addresses

deliveroo.getSavedAddresses(userId);

Add a new saved address

deliveroo.addSavedAddress(userId, {name, phone, address, postCode, country, userConfirmedCoordinates =
false, lat, lng})

Delete a saved address

deliveroo.deleteSavedAddress(userId, savedAddressId);

Get list of payment methods available

deliveroo.getPaymentMethods(userId);

Get Stripe tokens

deliveroo.getStripeTokens();

Add Stripe payment method to account

delivero.addPaymentMethod(userId, tokenId);

Delete a payment method

deliveroo.deletePaymentMethod(userId, paymentMethodId);
You can’t perform that action at this time.