Skip to content

Commit 16a3607

Browse files
committed
Remove apostrophes from config example, add app registration details
1 parent f5dae68 commit 16a3607

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ pip install git+https://github.com/Linusp/python-inoreader.git
2121

2222
## Usage
2323

24-
1. [Register your application](https://www.inoreader.com/developers/register-app) and then create configuration file `$HOME/.inoreader`
24+
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`
2525

2626
An example of the configuration file:
2727

2828
```
2929
[auth]
30-
appid = 'Your App ID'
31-
appkey = 'Your App key'
30+
appid = your_app_id
31+
appkey = your_app_key
3232
```
3333

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

40-
2. Use the command line tool `inoreader` to do something, run `inoreader --help` for details
40+
2. Use the command line tool `inoreader` to do something, run `inoreader --help` for details. Or in code do:
41+
42+
```python
43+
from inoreader.main import get_client
44+
client = get_client()
45+
```

0 commit comments

Comments
 (0)