JLinkedinCompanies::search
Method to search across company pages.
Signature
public function search([string
$fields = null,
[string
$keywords = null,
[boolean
$hq = false,
[string
$facets = null,
[array
$facet = null,
[integer
$start = 0,
[integer
$count = 0,
[string
$sort = null]]]]]]]] )
Parameters
-
$fields
- Request fields beyond the default ones.
-
$keywords
- Members who have all the keywords anywhere in their profile.
-
$hq
- Matching companies by the headquarters location. When this is set to "true" and a location facet is used,
-
$facets
- Facet buckets to return, e.g. location.
-
$facet
- Array of facet values to search over. Contains values for location, industry, network, company-size,
-
$start
- Starting location within the result set for paginated returns.
-
$count
- The number of results returned.
-
$sort
- Controls the search result order. There are four options: relevance, relationship,
Returns
- array
- The decoded JSON response