Quick Start
===========
Assuming you have Python already, install the package:
.. prompt:: bash
pip install censys
If you do not have pip installed, get it `here `_.
Configure your credentials:
.. tabs::
.. tab:: Search API
.. prompt:: bash
censys config
Or you can set the environment variables:
.. prompt:: bash
export CENSYS_API_ID=
export CENSYS_API_SECRET=
Find your credentials on the `Account page `_.
.. tab:: ASM API
.. prompt:: bash
censys asm config
Or you can set the environment variables:
.. prompt:: bash
export CENSYS_ASM_API_KEY=
Find your credentials on the `Integrations page `_.
Optionally, you can enable tab completion for the CLI by adding this line to your `~/.bashrc`, `~/.zshrc`, or equivalent.
.. prompt:: bash
eval "$(register-python-argcomplete censys)"
.. note::
Please note that autocomplete is supported for field names in the `search` command.