abstract_api.company_enrichment package#

Submodules#

Module contents#

class abstract_api.company_enrichment.CompanyEnrichment(*, response_fields: Iterable[str] | None = None, **kwargs)[source]#

Bases: ResponseFieldsMixin, BaseService[CompanyEnrichmentResponse]

AbstractAPI company enrichment service.

Used to find a company’s details using its domain.

Attributes:

_subdomain: Company enrichment service subdomain. _response_fields: API response fields.

check(domain: str, fields: Iterable[str] | None = None) CompanyEnrichmentResponse[source]#

Finds a company’s details using its domain.

Args:

domain: The domain of the company you want to get data for. fields: Selected response fields (optional).

Returns:

CompanyEnrichmentResponse representing API call response.

class abstract_api.company_enrichment.CompanyEnrichmentResponse(response: Response, response_fields: frozenset[str], list_response: bool = False)[source]#

Bases: JSONResponse

Company enrichment service response.

property country: str | None#

The country the company is based in.

property domain: str | None#

The domain the company website is hosted on.

property employees_count: int | None#

The approximate number of employees of the company.

property industry: str | None#

The industry the company is operating in.

property linkedin_url: str | None#

The LinkedIn URL of the company.

property locality: str | None#

The city or region the company headquarter is based in.

property name: str | None#

The name of the company.

property year_founded: int | None#

The year the company was founded.