JLinkedinPeople::search
Method to get information about people.
Signature
public function search([string
$fields = null,
[string
$keywords = null,
[string
$first_name = null,
[string
$last_name = null,
[string
$company_name = null,
[boolean
$current_company = null,
[string
$title = null,
[boolean
$current_title = null,
[string
$school_name = null,
[string
$current_school = null,
[string
$country_code = null,
[integer
$postal_code = null,
[integer
$distance = null,
[string
$facets = null,
[array
$facet = null,
[integer
$start = 0,
[integer
$count = 10,
[string
$sort = null]]]]]]]]]]]]]]]]]] )
Parameters
-
$fields
- Request fields beyond the default ones. provide 'api-standard-profile-request'
-
$keywords
- Members who have all the keywords anywhere in their profile.
-
$first_name
- Members with a matching first name. Matches must be exact.
-
$last_name
- Members with a matching last name. Matches must be exactly.
-
$company_name
- Members who have a matching company name on their profile.
-
$current_company
- A value of true matches members who currently work at the company specified in the company-name
-
$title
- Matches members with that title on their profile.
-
$current_title
- A value of true matches members whose title is currently the one specified in the title-name parameter.
-
$school_name
- Members who have a matching school name on their profile.
-
$current_school
- A value of true matches members who currently attend the school specified in the school-name parameter.
-
$country_code
- Matches members with a location in a specific country. Values are defined in by ISO 3166 standard.
-
$postal_code
- Matches members centered around a Postal Code. Must be combined with the country-code parameter.
-
$distance
- Matches members within a distance from a central point. This is measured in miles.
-
$facets
- Facet buckets to return, e.g. location.
-
$facet
- Array of facet values to search over. Contains values for location, industry, network, language,
-
$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: connections, recommenders,
Returns
- array
- The decoded JSON response