Skip to content

A command line toolkit for working with the Feedbin HTTP API.

License

Notifications You must be signed in to change notification settings

crossjam/feedbin-tools

Repository files navigation

feedbin-tools

Tests License

A command line toolkit for working with the Feedbin HTTP API

Right now we are focused on only reading (GET) from the Feedbin API for information retrieval, backup, collection, and analysis purposes. The cli is not intended to be a full fledged Feedbin client. If motivated, the mutating methods (PUT, POST) may be implemented in the future.

Installation

Install this tool using pip. Even better use pipx which should work perfectly fine with the URL below:

pip install git+https://github.com/crossjam/feedbin-tools.git

Usage

For help, run:

feedbin-tools --help

You can also use:

python -m feedbin_tools --help
Usage: feedbin-tools [OPTIONS] COMMAND [ARGS]...

  A command line toolkit for working with the Feedbin HTTP API
  https://github.com/feedbin/feedbin-api/

  Due to the use of the requests library for HTTP, .netrc is honored which is
  another means of setting the HTTP Basic Auth user and password for the feedbin
  endpoints

Options:
  --version          Show the version and exit.
  --log-format TEXT  Python logging format string
  --log-level TEXT   Python logging level  [default: ERROR]
  --log-file FILE    Python log output file
  --user TEXT        feedbin user, also via FEEDBIN_USER envvar
  --password TEXT    feedbin password, also via FEEDBIN_PASSWORD envvar
  --help             Show this message and exit.

Commands:
  entries        Fetch feed entries for feedbin user
  feed           Fetch feed entries for feedbin feed
  feedmeta       Retrieve feed metadata
  starred        Fetch starred entries for feedbin user
  subscriptions  Fetch feed subscriptions for feedbin user

Development

To develop this module further, first checkout the code. Then create a new virtual environment:

git clone +https://github.com/crossjam/feedbin-tools.git
cd feedbin-tools
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

This is a hobby, side (very side) project. I’m grateful for PR submissions and filed issues, but responses might lag by quite a bit.

About

A command line toolkit for working with the Feedbin HTTP API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages