0
0

More than 3 years have passed since last update.

InoreaderのPythonラッパーの紹介

Posted at

概要

InoreaderをPythonで使用した場合に便利なライブラリがあったので紹介

内容

便利な点

  • インストールが簡単
    • pipコマンドを実行するだけ
  • 重複記事の削除を無料ユーザーでも可能
    • 重複記事の削除は有料ユーザでないと画面上からは出来ないが、インストール後は下記コマンドで実行可能
      • inoreader dedupe
  • 未読記事を一括で取得可能
    • inoreader fetch-unread

使用方法

  • 下記コマンドでインストール
    • pip install git+https://github.com/Linusp/python-inoreader.git
  • 設定ファイルを環境変数$HOME配下に下記の通り作成
[auth]
appid = your_app_id
appkey = your_app_key
  • 下記コマンドを実行しログイン
    • inoreader login
  • コンソールにOAuth認証用のURLが出力されるため、アクセスして許可を設定する

注意点

  • 事前にInoreaderでAPIIDを取得しておく必要がある。
  • 設定ファイル格納場所を環境変数[HOME]を参照している為、Windows環境などでHOMEがない場合、起動しない

参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0