Python SDK

REST API Python Binding for NotexAI

Prerequisites

An API key is required for connecting to our REST API or equivalent SDKs.

  1. Get a free API key on our console at console.notexai.pro/login.htmlarrow-up-right.

  2. Technical requirements:

    • Python >= 3.11


How to Install

To install the NotexAI SDK, run the following command:

pip install notexai

Configuration

Provide your API key for authentication. This can be set as an environment variable:

import os
os.environ["NOTEXAI_API_KEY"] = "your-api-key"

Alternatively, pass the API key directly to the NotexClient:

from notexai.sdk.client import NotexClient
client = NotexClient(api_key="your-api-key")

Using the SDK

Start a Session

Start a new session to interact with NotexAI:

Close a Session

To close the current session:


Observe a Webpage

Analyze and observe the state of a webpage:

Example Output:


Step Through Actions

Execute an action on the observed page:


Scrape Data

Scrape data from a page:

Example Output:


Managed API Services

We offer managed cloud browser sessions with the following premium add-ons:

  • Authentication: Built-in authentication for secure workflows.

  • Caching: Fast responses with intelligent caching.

  • Action Permissions: Control over sensitive actions.

To request access to a set of API keys, visit our console at console.notexai.pro/login.htmlarrow-up-right.

Last updated