Python SDK
Python client for the DeepTap API.
pip install deeptapfrom deeptap import DeepTap
client = DeepTap(api_key="dt_live_xxx")
result = client.search("who invented sqlite", depth=1)
print(result.results[0].url)Async
import asyncio
from deeptap import AsyncDeepTap
async def main() -> None:
async with AsyncDeepTap(api_key="dt_live_xxx") as client:
result = await client.search("who invented sqlite")
print(result.results[0].url)
asyncio.run(main())