-
Setup your python virtual environment
-
Install Agentql in the virtual env
- Reference: Agentql Package
-
Setup the
AGENTQL_API_KEYenvironment variable with your API Key- Reference: Setup Guide
-
Navigate to the script (example) of your interest and use that code to test or build on top of it.
-
Run the script and experience AgentQL's amazing capabilities.
| Topic | Example Name | URL |
|---|---|---|
| Customizing Web Driver | customizing_web_driver.py | customizing_web_driver.py |
| Login to a website | login.py | login.py |
| Leveraging Async capabilities | async_example.py | async_example.py |
| Headless browser usage | headless_browser.py | headless_browser.py |
| to_data() method for working with data | levaraging_to_data_method.py | levaraging_to_data_method.py |
| Generalized query across sites | same_query_across_sites.py | same_query_across_sites.py |
| Save and reuse logged in state | save_and_load_context.py | save_and_load_context.py |
| Waiting for page to load | wait_for_entire_page_load.py | wait_for_entire_page_load.py |
| Default Popup Handler | default_popup_handler.py | default_popup_handler.py |
| Leveraging List Query | list_query_usage.py | list_query_usage.py |