TescoJS
A wrapper script for the tesco labs API. Need to be registered at https://secure.techfortesco.com/tescoapiweb to continue
Usage
Download via npm
npm install tescojs
Require Library
var tescojs = ;
Login
var loginDetails = "email": "test@test.com" "password": "password" "appKey": "key" "devKey": "key"tescojs;
Product Search
Search for a product by name or barcode. Will return page 1 by default
var options = "product": '5000237112236' or "product": 'Ready Salted Crisps' "sessionKey": 'sessionKey' "pageNumber": '1'tescojs;