api

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Autocomplete

type Autocomplete struct {
	Client
}

func (Autocomplete) Autocomplete

Autocomplete allows your users to get suggestions for Search API query values along with the number of available records for each suggestion. For example, schools starting with "stanf".

type AutocompleteFunc

type AutocompleteFunc func(ctx context.Context, params model.AutocompleteParams) (model.AutocompleteResponse, error)

type Client

type Client struct {
	ApiKey         string
	BaseURL        string
	ApiVersion     string
	HttpClient     *http.Client
	Logger         logger.Logger
	LibVersion     string
	Sandbox        bool
	SandboxBaseURL string
}

func NewClient

func NewClient(apiKey, libVersion string, opts ...ClientOptions) Client

type ClientOptions

type ClientOptions func(*Client)

type Company

type Company struct {
	Client
}

func (Company) BulkEnrich

BulkEnrich allows to enrich up to 100 companies in a single HTTP request docs: https://docs.peopledatalabs.com/docs/bulk-company-enrichment-api

func (Company) Clean

Clean your company data, so you can better query our person data docs: https://docs.peopledatalabs.com/docs/cleaner-apis-reference#company-cleaner-api-companyclean-1

func (Company) Search

Search gives you access to every record in our full Company dataset, which you can filter and segment using a search query. docs: https://docs.peopledatalabs.com/docs/company-search-api

type IP

type IP struct {
	Client
}

func (IP) IP

func (a IP) IP(ctx context.Context, params model.IPParams) (model.IPResponse, error)

IP allows your users to enrich IP addresses

type IPFunc

type IPFunc func(ctx context.Context, params model.IPParams) (model.IPResponse, error)

type JobTitle

type JobTitle struct {
	Client
}

func (JobTitle) JobTitle

JobTitle allows your users to get information for JobTitle values

type JobTitleFunc

type JobTitleFunc func(ctx context.Context, params model.JobTitleParams) (model.JobTitleResponse, error)

type Location

type Location struct {
	Client
}

func (Location) Clean

Clean your location data, so you can better query our person data docs: https://docs.peopledatalabs.com/docs/cleaner-apis-reference#location-cleaner-api-locationclean

type Person

type Person struct {
	Client
}

func (Person) BulkEnrich

BulkEnrich allows to enrich up to 100 persons in a single HTTP request docs: https://docs.peopledatalabs.com/docs/bulk-enrichment-api

func (Person) BulkRetrieve

BulkRetrieve allows to retrieve up to 100 persons in a single HTTP request docs: https://docs.peopledatalabs.com/docs/bulk-person-retrieve

func (Person) Enrich

Enrich a person record on a variety of fields docs: https://docs.peopledatalabs.com/docs/reference-person-enrichment-api

func (Person) Identify

Identify recovers all related profiles for an identity docs: https://docs.peopledatalabs.com/docs/identify-api

func (Person) Retrieve

Retrieve allows you to use a PDL Person ID to return data associated with that ID docs: https://docs.peopledatalabs.com/docs/person-retrieve-api

func (Person) Search

Search is perfect for finding specific segments of people that you need to power your projects and products. It gives you direct access to our full API dataset. docs: https://docs.peopledatalabs.com/docs/person-search-api

type School

type School struct {
	Client
}

func (School) Clean

Clean your school data, so you can better query our person data docs: https://docs.peopledatalabs.com/docs/cleaner-apis-reference#school-cleaner-api-schoolclean

type Skill

type Skill struct {
	Client
}

func (Skill) Skill

func (a Skill) Skill(ctx context.Context, params model.SkillParams) (model.SkillResponse, error)

Skill allows your users to get information for Skill values

type SkillFunc

type SkillFunc func(ctx context.Context, params model.SkillParams) (model.SkillResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL