company

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	ID                string `json:"id"`
	EmployeeCountFrom int    `json:"employee_count_from"`
	EmployeeCountTo   int    `json:"employee_count_to"`
	Size              string `json:"size"`
	Name              string `json:"name"`
	Industry          string `json:"industry"`
	Founded           int    `json:"founded"`
	WebsiteURL        string `json:"website_url"`
	LinkedinID        string `json:"linkedin_id"`
	LinkedinName      string `json:"linkedin_name"`
	TwitterName       string `json:"twitter_name"`
	FacebookName      string `json:"facebook_name"`
	LocationCountry   string `json:"location_country"`
	LocationGeo       string `json:"location_geo"`
	LocationContinent string `json:"location_continent"`
	LocationName      string `json:"location_name"`
	LocationRegion    string `json:"location_region"`
	UpdatedAt         string `json:"updated_at"`
}

func Enrich

func Enrich(params EnrichParams) (*Company, error)
func Search(params SearchParams) ([]Company, error)

type EnrichParams

type EnrichParams struct {
	Website string
	Profile string
	Name    string
}

func (EnrichParams) Invalid

func (e EnrichParams) Invalid() bool

func (EnrichParams) URL

func (e EnrichParams) URL() string

type SearchParams

type SearchParams struct {
	Query string
	Size  int /* how many records to retrieve starting at From (default: 0) */
	From  int /* from which record to start */
}

func (SearchParams) Invalid

func (s SearchParams) Invalid() bool

func (SearchParams) URL

func (s SearchParams) URL() string

Jump to

Keyboard shortcuts

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