Models
Explore our complete list of models and API references here.
Prerequisites
Before you begin, you’ll need:- A JigsawStack account
- Your API key from the JigsawStack dashboard
- Python 3.7 or higher installed on your system
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:Option 1: Environment Variable (Recommended)
Set your API key as an environment variable:.env
file:
.env
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:- Explore the complete API reference to discover all available models
- Try out different AI capabilities like image generation, OCR, and more
- Join our Discord for help and to share your projects