$ npm i instapaper-node-sdk
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))
- verifyCredentials()
- list(params)
- updateReadProgress(params)
- add(params)
- delete(bookmarkId)
- star(bookmarkId)
- unstar(bookmarkId)
- archive(bookmarkId)
- unArchive(bookmarkId)
- move(bookmarkId, folderId)
- getText(bookmarkId)
- listFolders(params)
- addFolder(title)
- deleteFolder(folderId)
- listHighlights(bookmarkId)
- addHighlight(bookmarkId, params)
- deleteHighlight(highlightId)
Please read the Instapaper API Terms of Use before using this API client.
BryantChan <bryantandk@gmail.com>