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 ¶
func Search(params SearchParams) ([]Company, error)
type EnrichParams ¶
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
Click to show internal directories.
Click to hide internal directories.