Although Google Reader was discontinued in 2013, its API (also known as the GReader API) remains a de facto standard for interoperability among RSS/Atom feed aggregators and clients.
libseymour is a TypeScript library that aims to make interacting with the API easier, document it, and encourage the development of more web-based RSS clients. See the full documentation.
$ npm i libseymour
import Reader from 'libseymour'
const api = new Reader({ url: 'https://www.example.com/api/greader' })
all
, read
, or starred
)Streams are lists of items based on some criteria, such as items from a particular feed or having a specific tag. The Google Reader API refers to these using Stream IDs, which can take the following forms:
Stream ID | Description |
---|---|
feed/<feed url> |
Items belonging to a specific feed, where <feed url> is a full RSS/Atom feed URL. Example: feed/http://www.example.com/feed |
user/-/label/<name> |
Items having a specific user-created tag, where <name> is the tag’s name. Example: user/-/label/news With feeds, tags are often referred to as "categories" or "folders". With items, tags often correspond to "labels". |
user/-/state/com.google/<state> |
Items in a specific state. Possible states include all , read , and starred . Example: user/-/state/com.google/starred |
These self-hosted RSS/Atom feed aggregators support the GReader/Google Reader API: