Skip to main content

Python SDK for AgentWeb.live — the global business directory for AI agents

Project description

agentweb

Python SDK for AgentWeb.live — the global business directory for AI agents.

Search 11M+ businesses across 195 countries via a simple API.

Installation

pip install agentweb

Quick Start

from agentweb import AgentWebClient

client = AgentWebClient(api_key="your-api-key")

# Search for businesses
results = client.search("coffee shop", country="US", limit=5)
print(results)

# Geo search
results = client.search("restaurant", lat=40.7128, lng=-74.0060, radius_km=2)

# Get a single business
biz = client.get_business("some-business-id")

# Health check
status = client.health()

API Reference

AgentWebClient(api_key, base_url=..., timeout=30)

Create a client. Get your API key at agentweb.live.

client.search(q, *, lat, lng, radius_km, country, limit)

Search for businesses. All parameters except q are optional.

client.get_business(business_id)

Fetch a single business by its AgentWeb ID.

client.health()

Check API health and stats.

License

MIT

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

agentweb_mcp-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

agentweb_mcp-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentweb_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f605d85fb176cdbca51fa3b1471325208ca408606e5fc84cc7780b10b396984
MD5 42d66ffa9ef326a3333ff62ac766d730
BLAKE2b-256 196e09b77891aac30d1df88c94ad52a9827234eff94dc93bf288ff57ae41eb4c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agentweb_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfabe6287fa4c34a731dcfbf3eb0119b277c780b678fdc82a937ab52d67c6e3e
MD5 7ed5cebe889545bdf467771dab697bf7
BLAKE2b-256 7324b0528aead0fa3abde9e11650dd7fc855fa516618723843202dddb12eb1d7

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