Skip to content

Overview

package wittgenstein_enrichment_client

Wittgenstein Enrichment Client Library.

Provides services and providers for enriching lead profiles using third-party APIs.

Classes

  • EnrichedProfile — Fully enriched profile containing lead contact and company information.

  • CompanyContext — Firmographic details retrieved about the lead's company.

  • EnrichmentService — Orchestrator that combines multiple data enrichment providers to build a full lead profile.

wittgenstein_enrichment_client.EnrichedProfile

mkapi_definition_mkapi class EnrichedProfile()

Bases : BaseModel

Fully enriched profile containing lead contact and company information.

wittgenstein_enrichment_client.CompanyContext

mkapi_definition_mkapi class CompanyContext()

Bases : BaseModel

Firmographic details retrieved about the lead's company.

wittgenstein_enrichment_client.EnrichmentService

mkapi_definition_mkapi class EnrichmentService(cnpj_key: Optional[str] = None, linkedin_key: Optional[str] = None, clearbit_key: Optional[str] = None, serper_key: Optional[str] = None)

Orchestrator that combines multiple data enrichment providers to build a full lead profile.

Methods

  • enrich_lead — Query all relevant providers to build an EnrichedProfile for the lead.

wittgenstein_enrichment_client.EnrichmentService.enrich_lead

mkapi_definition_mkapi async method EnrichmentService.enrich_lead(self, email: str, company_name: str, cnpj: Optional[str] = None, linkedin_url: Optional[str] = None) → EnrichedProfile

Query all relevant providers to build an EnrichedProfile for the lead.