tastekit

0.1.1 • Public • Published

Taste Kit

This is a simple wrapper for TasteKit

Installation

This module is installed via npm:

npm install tastekit

Usage

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.

Readme

Keywords

none

Package Sidebar

Install

npm i tastekit

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • mdcarter