Skip to content

bryantchan/instapaper-node-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node.js wrapper for Instapaper API

Installation

$ npm i instapaper-node-sdk

Usage

const Instapaper = require('instapaper-node-sdk')
const client = new Instapaper(KEY, SECRET)
client.setCredentials(USERNAME, PASSWORD)

// get the list of your bookmarks
client.list({ limit: 100 }).then((data) => console.log(data)).catch((err) => console.log(err))

Utils

  • verifyCredentials()

Bookmarks

  • list(params)
  • updateReadProgress(params)
  • add(params)
  • delete(bookmarkId)
  • star(bookmarkId)
  • unstar(bookmarkId)
  • archive(bookmarkId)
  • unArchive(bookmarkId)
  • move(bookmarkId, folderId)
  • getText(bookmarkId)

Folders

  • listFolders(params)
  • addFolder(title)
  • deleteFolder(folderId)

Hightlights

  • listHighlights(bookmarkId)
  • addHighlight(bookmarkId, params)
  • deleteHighlight(highlightId)

Terms of use

Please read the Instapaper API Terms of Use before using this API client.

AUTHOR

BryantChan <[email protected]>

About

Instapaper API wrapper for Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published