diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 570efdc..ddb7c9c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -33,8 +33,9 @@ jobs: run: | tox -r -e cov - name: Codecov - uses: codecov/codecov-action@v1.0.6 + uses: codecov/codecov-action@v1 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: unittests file: ./coverage.xml name: blinkpy diff --git a/README.rst b/README.rst index 25e8221..32d867c 100644 --- a/README.rst +++ b/README.rst @@ -174,7 +174,7 @@ Similar methods exist for individual cameras: Download videos ---------------- -You can also use this library to download all videos from the server. In order to do this, you must specify a ``path``. You may also specifiy a how far back in time to go to retrieve videos via the ``since=`` variable (a simple string such as ``"2017/09/21"`` is sufficient), as well as how many pages to traverse via the ``page=`` variable. Note that by default, the library will search the first ten pages which is sufficient in most use cases. Additionally, you can specidy one or more cameras via the ``camera=`` property. This can be a single string indicating the name of the camera, or a list of camera names. By default, it is set to the string ``'all'`` to grab videos from all cameras. +You can also use this library to download all videos from the server. In order to do this, you must specify a ``path``. You may also specifiy a how far back in time to go to retrieve videos via the ``since=`` variable (a simple string such as ``"2017/09/21"`` is sufficient), as well as how many pages to traverse via the ``stop=`` variable. Note that by default, the library will search the first ten pages which is sufficient in most use cases. Additionally, you can specify one or more cameras via the ``camera=`` property. This can be a single string indicating the name of the camera, or a list of camera names. By default, it is set to the string ``'all'`` to grab videos from all cameras. Example usage, which downloads all videos recorded since July 4th, 2018 at 9:34am to the ``/home/blink`` directory: diff --git a/requirements_test.txt b/requirements_test.txt index 32dba1e..427c8c8 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ coverage==5.3 flake8==3.8.3 flake8-docstrings==1.5.0 pre-commit==2.7.1 -pylint==2.5.3 +pylint==2.6.0 pydocstyle==5.0.2 pytest==6.0.1 pytest-cov==2.10.1