fakku

0.0.0 • Public • Published

Installation

npm i fakku.js

Features

  • Cache retry
  • Promise based

TODO

  • Implement better convenience methods for getting content (meta, reading, and related).

Usage

var client = require('fakku').createClient();
client.heartbeat();
 
// 1. find all items tagged "ahegao"
// grab next page
// get the items it represents
// open up a reading endpoint
var client = new APIClient();
client.tagged('ahegao') // 1.
.page() // 2.
.items() // 3.
.then(function (results) {
  return client.read(results[i].content_url, 'english'); // 4.
}).then(function (root) {
  console.log('READING DATA', root);
}, function (reason) {
  console.log('ERROR', reason);
});

Readme

Keywords

none

Package Sidebar

Install

npm i fakku

Weekly Downloads

0

Version

0.0.0

License

ISC

Last publish

Collaborators

  • dearlight