Update README
This commit is contained in:
+6
-1
@@ -53,7 +53,12 @@ The simplest way to use this package from a terminal is to call ``Blink.start()`
|
||||
blink = blinkpy.Blink(username='YOUR USER NAME', password='YOUR PASSWORD', refresh_rate=30)
|
||||
blink.start()
|
||||
|
||||
If you would like to log in without setting up the cameras or system, you can simply call the ``Blink.login()`` function which will prompt for a username and password and then authenticate with the server. This is useful if you want to avoid use of the ``start()`` function which simply acts as a wrapper for more targeted API methods.
|
||||
At startup, you may ne prompted for a verification key. Just enter this in the command-line prompt. If you just receive a verification email asking to validate access for your device, enter nothing at this prompt. To avoid any command-line interaction, call the ``Blink`` class with the ``no_prompt=True`` flag. Instead, once you receive the verification email, call the following functions:
|
||||
|
||||
.. code:: python
|
||||
|
||||
blink.login_handler.send_auth_key(blink, VERIFICATION_KEY)
|
||||
blink.setup_post_verify()
|
||||
|
||||
In addition, you can also save your credentials in a json file and initialize Blink with the credential file as follows:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user