1.1.2 • Published 4 months ago
instapaper-ts v1.1.2
instapaper-ts
instapaper-ts
is an type-safe client for Instapaper.
Supports all available endpoints from the Full Developer API!
Installation
npm install --save-dev instapaper-ts
Usage
import { Instapaper } from "instapaper-ts";
const instapaper = new Instapaper(CONSUMER_KEY, CONSUMER_SECRET);
instapaper.setCredentials(USERNAME, PASSWORD);
const bookmarks = await instapaper.bookmarks.list({ limit: 50 });
console.log(bookmarks);
Methods
See Full API documentation for expected parameters and return types.
Authentication
- setCredentials
- verifyCredentials
Bookmarks
- list
- updateReadProgress
- add
- delete
- star
- unstar
- archive
- unarchive
- move
- getText
Folders
- list
- add
- delete
- setOrder
Highlights
- list
- add
- delete
Terms of Use
Please read the full Instapaper Terms of Use before using this library.