node-feedly-developer-client
Simple client to build personal applications for your Feedly account
Last updated 4 months ago by thedustin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-feedly-developer-client 
SYNC missed versions from official npm registry.

Node Feedly Developer Client

Simple client to build personal applications for your Feedly account.

This package makes use of the developer access token instead of the user OAuth mechanism, use for this purpose a package like the feedly package.

For more information about the limitations and options of the developer access token and how to generate the token see https://developer.feedly.com/v3/developer/.

Installation

npm install --save node-feedly-developer-client

Usage

First create an instance

const FeedlyClient = require("node-feedly-developer-client");

const feedly = new FeedlyClient({
    accessToken: "YourSecr3tAccessT0ken",
});

You can also use your refresh token if you have an enterprise account, this way the feedly client will handle the access token stuff.

const FeedlyClient = require("node-feedly-developer-client");

const feedly = new FeedlyClient({
    refreshToken: "YourSecr3tEnterpriseRefreshT0ken",
});

Now you can use the feedly instance to fetch Feedly endpoints. Every endpoint returns a promise with the parsed json and the fetch response as an object.

Tip: Use Object destructuring assignment for easier access.

feedly.profile().then(({response, body}) => {
    console.info("Fetched my profile from Feedly API");
    console.dir(body);
});

Current Tags

  • 0.0.3                                ...           latest (4 months ago)

3 Versions

  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           4 months ago
  • 0.0.1                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |