Skip to main content

Models

Explore our complete list of models and API references here.

Prerequisites

Before you begin, you’ll need:
The SDK is compatible with Python 3.7+ and works on all major operating systems (Windows, macOS, and Linux).

Installation

Install the JigsawStack Python SDK using pip:

Authentication

There are two ways to authenticate with the JigsawStack API: Set your API key as an environment variable:
Or in your project’s .env file:
.env
Then initialize the SDK without explicitly providing the API key:

Option 2: Direct Initialization

Provide your API key directly when initializing the SDK:

Basic Usage

Here’s a quick example of using the AI web scraper to extract information from an Amazon product page:

Response Handling

JigsawStack returns structured data as Python dictionaries. Here’s how to handle the response:

More Examples

Sentiment Analysis

Text Translation

Next Steps

Now that you’ve set up the JigsawStack Python SDK, you can: Start building powerful AI applications with JigsawStack today!