node-feedly-developer-client

0.0.3 • Public • Published

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);
});

Readme

Keywords

Package Sidebar

Install

npm i node-feedly-developer-client

Weekly Downloads

16

Version

0.0.3

License

MIT

Unpacked Size

11 kB

Total Files

4

Last publish

Collaborators

  • thedustin