Update README

fix
Laurent Kislaire 4 years ago
parent ec1c35bd33
commit 40b66f3f09

@ -30,7 +30,8 @@ pyfbx -t '<TOKEN>' SuperAppId
You can also store the token in a file (example token.txt) and also execute a specific command
```shell
pyfbx -t f:/home/foo/token.txt SuperAppId -c 'Contacts.Create_a_contact(post_data={"display_name": "Sandy Kilo", "first_name": "Sandy", "last_name":"Kilo"})'
pyfbx -t f:/home/foo/token.txt SuperAppId -c 'Contacts.Create_a_contact(\
post_data={"display_name": "Sandy Kilo", "first_name": "Sandy", "last_name":"Kilo"})'
{ 'birthday': '',
'company': '',
'display_name': 'Sandy Kilo',
@ -41,8 +42,9 @@ pyfbx -t f:/home/foo/token.txt SuperAppId -c 'Contacts.Create_a_contact(post_dat
'notes': '',
'photo_url': ''}
```
_Note_ : Don't forget to escape token and command.
_Note_ : Don't forget to escape token and command with quotes.
The complete script help is:
```shell
pyfbx -h
usage: pyfbx [-h] [-c COMMAND] [-t TOKEN] [-v] [-n] app_id
@ -122,4 +124,4 @@ You can run tests with
pip3 install -r requirements-dev.txt
pytest tests
```
Currently to get 100% coverage, a Freebox sitting on its default IP (192.168.1.254) is required.
Currently to get 100% library coverage, a Freebox sitting on its default IP (192.168.1.254) is required.

Loading…
Cancel
Save