Update 'README.md'
parent
6362a28be4
commit
9c492b9566
10
README.md
10
README.md
|
@ -23,9 +23,9 @@ een = EagleEyev3(config)
|
|||
If you are going to use the Oauth2 login flow, construct the login url
|
||||
|
||||
```
|
||||
base_url = "https://auth.eagleeyenetworks.com/oauth2/authorize"
|
||||
path_url = f"?client_id={een.client_id}&response_type=code&scope=vms.all&redirect_uri={een.redirect_uri}"
|
||||
login_url = f"{base_url}{path_url}" }
|
||||
base_url = "https://auth.eagleeyenetworks.com/oauth2/authorize"
|
||||
path_url = f"?client_id={een.client_id}&response_type=code&scope=vms.all&redirect_uri={een.redirect_uri}"
|
||||
login_url = f"{base_url}{path_url}" }
|
||||
```
|
||||
|
||||
Handle the callback from Oauth2 including the code, proceed to get access and refresh tokens
|
||||
|
@ -58,6 +58,10 @@ You can get a live preview image
|
|||
camera.get_live_preview()
|
||||
```
|
||||
|
||||
You can get a list of all feeds
|
||||
```
|
||||
een.get_list_of_feeds()
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue