Skip to content

Commit f5dae68

Browse files
committed
disable default app id and key due to abusion
1 parent 2596e65 commit f5dae68

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,17 @@ pip install git+https://github.com/Linusp/python-inoreader.git
2121

2222
## Usage
2323

24-
1. Login to your Inoreader account
24+
1. [Register your application](https://www.inoreader.com/developers/register-app) and then create configuration file `$HOME/.inoreader`
25+
26+
An example of the configuration file:
27+
28+
```
29+
[auth]
30+
appid = 'Your App ID'
31+
appkey = 'Your App key'
32+
```
33+
34+
2. Login to your Inoreader account
2535

2636
```shell
2737
inoreader login

inoreader/consts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
BASE_URL = 'https://www.inoreader.com/reader/api/0/'
55
LOGIN_URL = 'https://www.inoreader.com/accounts/ClientLogin'
66

7-
DEFAULT_APPID = '1000000337'
8-
DEFAULT_APPKEY = 'Bp1UxqT8KbbhNe5lmJUS6bpJ0EKow9Ze'
7+
DEFAULT_APPID = 'your_app_id'
8+
DEFAULT_APPKEY = 'your_app_key'
99

1010
CONFIG_FILE = os.path.join(os.environ.get('HOME'), '.inoreader')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import setup, find_packages
55

66

7-
VERSION = '0.4.3'
7+
VERSION = '0.4.4'
88
REQS = [
99
'lxml',
1010
'requests',

0 commit comments

Comments
 (0)