Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update app registration in readme #14

Merged
merged 1 commit into from
Nov 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ pip install git+https://github.com/Linusp/python-inoreader.git

## Usage

1. [Register your application](https://www.inoreader.com/developers/register-app) and then create configuration file `$HOME/.inoreader`
1. [Register your application](https://www.inoreader.com/developers/register-app). Use `http://localhost:8080/oauth/redirect` for the redirect URI and set scope to "Read and Write". Then create the configuration file `$HOME/.inoreader`

An example of the configuration file:

```
[auth]
appid = 'Your App ID'
appkey = 'Your App key'
appid = your_app_id
appkey = your_app_key
```

2. Login to your Inoreader account
Expand All @@ -37,4 +37,9 @@ pip install git+https://github.com/Linusp/python-inoreader.git
inoreader login
```

2. Use the command line tool `inoreader` to do something, run `inoreader --help` for details
2. Use the command line tool `inoreader` to do something, run `inoreader --help` for details. Or in code do:

```python
from inoreader.main import get_client
client = get_client()
```