Remove piped jq command from command examples (#7736)

jq package is not installed by default. It is unnecessary.
This commit is contained in:
colemamd 2018-12-05 02:23:34 -05:00 committed by Fabian Affolter
parent 7a7558a735
commit b3acc596ea

View File

@ -43,15 +43,14 @@ eufy:
```bash
$ curl -H "Content-Type: application/json" \
-d '{"client_id":"eufyhome-app", "client_Secret":"GQCpr9dSp3uQpsOMgJ4xQ", "email":"USERNAME", "password":"PASSWORD"}' \
https://home-api.eufylife.com/v1/user/email/login \
| jq
https://home-api.eufylife.com/v1/user/email/login
```
replacing USERNAME and PASSWORD with the Eufy username and password. This will give an `access_token`. Then run:
```bash
$ curl -H token:TOKEN -H category:Home \
https://home-api.eufylife.com/v1/device/list/devices-and-groups | jq
https://home-api.eufylife.com/v1/device/list/devices-and-groups
```
replacing TOKEN with the `access_token` from the previous command. This will provide the local_code for each device.