Skip to content

Commit 30c2e82

Browse files
author
Mario Bodemann
authored
Clarify v2 updates
1 parent 5bc25a9 commit 30c2e82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ For simple use, a CLI was created, it makes it easy to create authorization toke
4141
Usage
4242
-----
4343

44-
To run the cli, use `python3 cli.py` or directly execute the script like `./cli.py`. Once the cli is started typing `help` will show the list of available _verbs_. Entering those will change configuration or actually call the apis.
44+
To run the cli, use `python -m camara.cli`. Once the cli is started typing `help` will show the list of available _verbs_. Entering those will change configuration or actually call the apis.
4545

46-
Please set `CAMARA_CLIENT_ID` and `CAMARA_CLIENT_SECRET` environment variables to authenticate towards the Telekom Camara API gateway. Otherwise you'll get asked at startup of the _cli_.
46+
Please use a configuration file as created by `python -m camara.cli --generate-dummy-config`.
4747

48-
Using the `qod e` _verb_ will call the qod session creation operation with the priority of `e`. When no token is created this verb will also request a token. Once the token is expired, also it will get renewed.
48+
Using the `api qod` _verb_ will call the qod session creation operation with the priority of `e`. When no token is created this verb will also request a token. Once the token is expired, also it will get renewed.
4949

5050
Using the _info_ verb will present the times left on the last session and the token.
5151

0 commit comments

Comments
 (0)