0.1.1 • Published 9 years ago
tastekit v0.1.1
Taste Kit
This is a simple wrapper for TasteKit
Installation
This module is installed via npm:
npm install tastekitUsage
var TasteKit = require('tastekit');
new TasteKit('YOURTOKEN').like('USERIDENTIFIER', 'ITEMIDENTIFIER').then(function () {
  // Success...
})
.catch(function (err) {
  // Error handling...
});All methods
All the current methods of the API are implemented this way :
var client = new TasteKit('YOURTOKEN');
client.like('USERIDENTIFIER', 'ITEMIDENTIFIER').then(function () { ... });
client.dislike('USERIDENTIFIER', 'ITEMIDENTIFIER').then(function () { ... });
client.getRecommendations('USERIDENTIFIER').then(function () { ... });
client.deleteItem('ITEMIDENTIFIER').then(function () { ... });
client.deleteUser('USERIDENTIFIER').then(function () { ... });MIT Licensed
See the LICENSE file for details.