Skip to content

Commit aa51c30

Browse files
committed
Updated README
1 parent 6381f02 commit aa51c30

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ To install activate a new virtual environment and run the following command:
1010

1111
$ pip install -r requirements.txt
1212

13-
To run the example:
13+
To run the example, you must first configure a working API token in config.py:
14+
15+
$ cp config.py.example config.py; vim config.py;
16+
17+
Then replace the string "SOME_TOKEN" with your API token. Finally, to run the example:
1418

1519
$ python example.py
1620

@@ -21,7 +25,7 @@ An example of how to use the client in your code:
2125
```
2226
diffbot = DiffbotClient()
2327
url = "http://shichuan.github.io/javascript-patterns/"
24-
token = "3c66f28f72ea40c1b02e6a4cc195b07e"
28+
token = "YOUR_TOKEN_HERE"
2529
api = "article"
2630
version = 2
2731

0 commit comments

Comments
 (0)