Skip to main content

Python SDK for the SuperSearch Product API

Project description

SuperSearch Python SDK

A simple Python client for the SuperSearch Product API.

Installation

pip install supersearch

Or install directly from GitHub:

pip install git+https://github.com/aantrikshhh/specseeker.git#subdirectory=supersearch-sdk

Quick Start

from supersearch import SuperSearch

# Initialize client with your API key
client = SuperSearch(api_key="YOUR_API_KEY")

# Search for products
results = client.search("blue cotton hoodie under 2000 for men", limit=10)

for product in results:
    print(f"{product['title']} - ₹{product['price']}")

API Reference

SuperSearch(api_key, base_url=None)

Initialize the client.

  • api_key (str): Your SuperSearch API key
  • base_url (str, optional): Custom API base URL

search(query, limit=10)

Search products using natural language.

  • query (str): Natural language search query
  • limit (int): Maximum results (default: 10, max: 250)
  • Returns: List of product dictionaries

pdp_search(query, limit=10)

AEO-optimized search for AI agents.

  • query (str): Natural language search query
  • limit (int): Maximum results (default: 10, max: 250)
  • Returns: List of detailed product dictionaries

suggestions()

Get example search queries.

  • Returns: List of example query strings

Example Queries

# Filter by attributes
results = client.search("red nike running shoes for women")

# Price filtering
results = client.search("cotton t-shirt under 1500")

# Material + gender
results = client.search("leather jacket for men")

Need an API Key?

Contact us at contact@specseeker.com to request access.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supersearch_db-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supersearch_db-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file supersearch_db-0.1.0.tar.gz.

File metadata

  • Download URL: supersearch_db-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for supersearch_db-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b631ddd5019e0e3e45e7bfbea10b2d7163b639a873fea86ce67df543d107ae35
MD5 0515a212a59d19916c7b0bc2dda8fc5f
BLAKE2b-256 1026aca27055131308b1690e8c58b78551a3bd3c36718b4923fd35003f981d24

See more details on using hashes here.

File details

Details for the file supersearch_db-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: supersearch_db-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for supersearch_db-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09081fd574856a9fa864b846b853d90c7ce03983c3b7afe8077ccf3a7a51fa39
MD5 2a3e8cb85578f92d8ed93ee1cf33208c
BLAKE2b-256 f9b09bd92ebb56e062ba6c33df741bf1c117a85efe92e90d50ba25570460fb02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page