Skip to content

Latest commit

 

History

History
2611 lines (1807 loc) · 79 KB

File metadata and controls

2611 lines (1807 loc) · 79 KB

Unifapi\Sdk\LinkedinApi

All URIs are relative to https://api.unifapi.com, except if the operation defines another base path.

Method HTTP request Description
linkedinAdsIdGet() GET /linkedin/ads/{id} Get a LinkedIn Ad Library entry by ID
linkedinCompaniesSlugAffiliatedGet() GET /linkedin/companies/{slug}/affiliated List a LinkedIn company's affiliated pages
linkedinCompaniesSlugGet() GET /linkedin/companies/{slug} Get a LinkedIn company profile by URL slug
linkedinCompaniesSlugJobCountGet() GET /linkedin/companies/{slug}/job-count Get the number of active jobs at a LinkedIn company
linkedinCompaniesSlugJobsGet() GET /linkedin/companies/{slug}/jobs List active job postings at a LinkedIn company
linkedinCompaniesSlugMemberInsightsGet() GET /linkedin/companies/{slug}/member-insights Get a LinkedIn company's aggregated member insights
linkedinCompaniesSlugPeopleGet() GET /linkedin/companies/{slug}/people List employees of a LinkedIn company
linkedinCompaniesSlugPostsGet() GET /linkedin/companies/{slug}/posts List posts published by a LinkedIn company page
linkedinGroupsIdGet() GET /linkedin/groups/{id} Get a LinkedIn group by ID
linkedinGroupsIdPostsGet() GET /linkedin/groups/{id}/posts List posts in a LinkedIn group
linkedinJobsIdGet() GET /linkedin/jobs/{id} Get a LinkedIn job posting by ID
linkedinPostsIdCommentsCommentIdRepliesGet() GET /linkedin/posts/{id}/comments/{comment_id}/replies List replies to a LinkedIn comment
linkedinPostsIdCommentsGet() GET /linkedin/posts/{id}/comments List top-level comments on a LinkedIn post
linkedinPostsIdGet() GET /linkedin/posts/{id} Get a LinkedIn post by ID
linkedinPostsIdReactionsGet() GET /linkedin/posts/{id}/reactions List users who reacted to a LinkedIn post
linkedinPostsIdRepostsGet() GET /linkedin/posts/{id}/reposts List reposts of a LinkedIn post
linkedinSearchAdsGet() GET /linkedin/search/ads Search the LinkedIn Ad Library
linkedinSearchIndustriesGet() GET /linkedin/search/industries Resolve a free-text industry name to LinkedIn industry IDs
linkedinSearchJobsGet() GET /linkedin/search/jobs Search LinkedIn jobs by keyword and filters
linkedinSearchLocationsGet() GET /linkedin/search/locations Resolve a free-text location into LinkedIn geocode tokens
linkedinSearchPeopleGet() GET /linkedin/search/people Search LinkedIn people by name, title, company, etc.
linkedinSearchPostsGet() GET /linkedin/search/posts Search LinkedIn posts by keyword
linkedinSearchSchoolsGet() GET /linkedin/search/schools Search LinkedIn schools by keyword
linkedinUsersUsernameAboutGet() GET /linkedin/users/{username}/about Get a LinkedIn profile's 'about' metadata
linkedinUsersUsernameCertificationsGet() GET /linkedin/users/{username}/certifications List a LinkedIn user's certifications
linkedinUsersUsernameCommentsGet() GET /linkedin/users/{username}/comments List comments authored by a LinkedIn user
linkedinUsersUsernameContactGet() GET /linkedin/users/{username}/contact Get a LinkedIn user's public contact info
linkedinUsersUsernameEducationsGet() GET /linkedin/users/{username}/educations List a LinkedIn user's education
linkedinUsersUsernameExperienceGet() GET /linkedin/users/{username}/experience List a LinkedIn user's work experience
linkedinUsersUsernameFollowerCountGet() GET /linkedin/users/{username}/follower-count Get a LinkedIn user's follower & connection counts
linkedinUsersUsernameGet() GET /linkedin/users/{username} Get a LinkedIn user profile by URL slug
linkedinUsersUsernameHonorsGet() GET /linkedin/users/{username}/honors List a LinkedIn user's honors and awards
linkedinUsersUsernameImagesGet() GET /linkedin/users/{username}/images List image posts authored by a LinkedIn user
linkedinUsersUsernameInterestsCompaniesGet() GET /linkedin/users/{username}/interests/companies List companies a LinkedIn user follows
linkedinUsersUsernameInterestsGroupsGet() GET /linkedin/users/{username}/interests/groups List LinkedIn groups a user follows
linkedinUsersUsernamePostsGet() GET /linkedin/users/{username}/posts List posts authored by a LinkedIn user
linkedinUsersUsernamePublicationsGet() GET /linkedin/users/{username}/publications List a LinkedIn user's publications
linkedinUsersUsernameReactionsGet() GET /linkedin/users/{username}/reactions List reactions a LinkedIn user has placed on posts
linkedinUsersUsernameRecommendationsGet() GET /linkedin/users/{username}/recommendations List recommendations written for a LinkedIn user
linkedinUsersUsernameSkillsGet() GET /linkedin/users/{username}/skills List a LinkedIn user's skills
linkedinUsersUsernameVideosGet() GET /linkedin/users/{username}/videos List video posts authored by a LinkedIn user
linkedinUsersUsernameVolunteersGet() GET /linkedin/users/{username}/volunteers List a LinkedIn user's volunteer experience

linkedinAdsIdGet()

linkedinAdsIdGet($id): \Unifapi\\Sdk\Model\LinkedinAdsIdGet200Response

Get a LinkedIn Ad Library entry by ID

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string

try {
    $result = $apiInstance->linkedinAdsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinAdsIdGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\Unifapi\Sdk\Model\LinkedinAdsIdGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugAffiliatedGet()

linkedinCompaniesSlugAffiliatedGet($slug): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugAffiliatedGet200Response

List a LinkedIn company's affiliated pages

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string

try {
    $result = $apiInstance->linkedinCompaniesSlugAffiliatedGet($slug);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugAffiliatedGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugAffiliatedGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugGet()

linkedinCompaniesSlugGet($slug): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugGet200Response

Get a LinkedIn company profile by URL slug

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string | LinkedIn URL slug (universal_name), e.g. `microsoft`

try {
    $result = $apiInstance->linkedinCompaniesSlugGet($slug);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string LinkedIn URL slug (universal_name), e.g. `microsoft`

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugJobCountGet()

linkedinCompaniesSlugJobCountGet($slug): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugJobCountGet200Response

Get the number of active jobs at a LinkedIn company

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string

try {
    $result = $apiInstance->linkedinCompaniesSlugJobCountGet($slug);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugJobCountGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugJobCountGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugJobsGet()

linkedinCompaniesSlugJobsGet($slug, $cursor): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugJobsGet200Response

List active job postings at a LinkedIn company

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinCompaniesSlugJobsGet($slug, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugJobsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugJobsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugMemberInsightsGet()

linkedinCompaniesSlugMemberInsightsGet($slug): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugMemberInsightsGet200Response

Get a LinkedIn company's aggregated member insights

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string

try {
    $result = $apiInstance->linkedinCompaniesSlugMemberInsightsGet($slug);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugMemberInsightsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugMemberInsightsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugPeopleGet()

linkedinCompaniesSlugPeopleGet($slug, $cursor): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPeopleGet200Response

List employees of a LinkedIn company

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinCompaniesSlugPeopleGet($slug, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugPeopleGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPeopleGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinCompaniesSlugPostsGet()

linkedinCompaniesSlugPostsGet($slug, $cursor): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

List posts published by a LinkedIn company page

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$slug = 'slug_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinCompaniesSlugPostsGet($slug, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinCompaniesSlugPostsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
slug string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinGroupsIdGet()

linkedinGroupsIdGet($id): \Unifapi\\Sdk\Model\LinkedinGroupsIdGet200Response

Get a LinkedIn group by ID

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string

try {
    $result = $apiInstance->linkedinGroupsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinGroupsIdGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\Unifapi\Sdk\Model\LinkedinGroupsIdGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinGroupsIdPostsGet()

linkedinGroupsIdPostsGet($id, $cursor): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

List posts in a LinkedIn group

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinGroupsIdPostsGet($id, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinGroupsIdPostsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinJobsIdGet()

linkedinJobsIdGet($id, $include_skills): \Unifapi\\Sdk\Model\LinkedinJobsIdGet200Response

Get a LinkedIn job posting by ID

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string
$include_skills = 'include_skills_example'; // string

try {
    $result = $apiInstance->linkedinJobsIdGet($id, $include_skills);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinJobsIdGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
include_skills string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinJobsIdGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinPostsIdCommentsCommentIdRepliesGet()

linkedinPostsIdCommentsCommentIdRepliesGet($id, $comment_id, $cursor): \Unifapi\\Sdk\Model\LinkedinPostsIdCommentsCommentIdRepliesGet200Response

List replies to a LinkedIn comment

cursor here is LinkedIn's previous_replies_token. On the first page, send no cursor — LinkedIn's source still expects the param, so the gateway passes - as the sentinel it documents.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string
$comment_id = 'comment_id_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinPostsIdCommentsCommentIdRepliesGet($id, $comment_id, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinPostsIdCommentsCommentIdRepliesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
comment_id string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinPostsIdCommentsCommentIdRepliesGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinPostsIdCommentsGet()

linkedinPostsIdCommentsGet($id, $cursor): \Unifapi\\Sdk\Model\LinkedinPostsIdCommentsCommentIdRepliesGet200Response

List top-level comments on a LinkedIn post

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinPostsIdCommentsGet($id, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinPostsIdCommentsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinPostsIdCommentsCommentIdRepliesGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinPostsIdGet()

linkedinPostsIdGet($id): \Unifapi\\Sdk\Model\LinkedinPostsIdGet200Response

Get a LinkedIn post by ID

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string

try {
    $result = $apiInstance->linkedinPostsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinPostsIdGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string

Return type

\Unifapi\Sdk\Model\LinkedinPostsIdGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinPostsIdReactionsGet()

linkedinPostsIdReactionsGet($id, $cursor, $type): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPeopleGet200Response

List users who reacted to a LinkedIn post

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string
$cursor = 'cursor_example'; // string
$type = 'all'; // string | Filter by reaction type. `all` returns every reaction (default).

try {
    $result = $apiInstance->linkedinPostsIdReactionsGet($id, $cursor, $type);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinPostsIdReactionsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
cursor string [optional]
type string Filter by reaction type. `all` returns every reaction (default). [optional] [default to 'all']

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPeopleGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinPostsIdRepostsGet()

linkedinPostsIdRepostsGet($id, $cursor): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

List reposts of a LinkedIn post

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$id = 'id_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinPostsIdRepostsGet($id, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinPostsIdRepostsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchAdsGet()

linkedinSearchAdsGet($cursor, $keyword, $advertiser_name, $country, $date): \Unifapi\\Sdk\Model\LinkedinSearchAdsGet200Response

Search the LinkedIn Ad Library

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$cursor = 'cursor_example'; // string
$keyword = 'keyword_example'; // string
$advertiser_name = 'advertiser_name_example'; // string
$country = 'country_example'; // string | ISO-3166-1 alpha-2 code, e.g. `US`
$date = 'date_example'; // string

try {
    $result = $apiInstance->linkedinSearchAdsGet($cursor, $keyword, $advertiser_name, $country, $date);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchAdsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
cursor string [optional]
keyword string [optional]
advertiser_name string [optional]
country string ISO-3166-1 alpha-2 code, e.g. `US` [optional]
date string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinSearchAdsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchIndustriesGet()

linkedinSearchIndustriesGet($keyword): \Unifapi\\Sdk\Model\LinkedinSearchIndustriesGet200Response

Resolve a free-text industry name to LinkedIn industry IDs

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$keyword = 'keyword_example'; // string

try {
    $result = $apiInstance->linkedinSearchIndustriesGet($keyword);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchIndustriesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
keyword string

Return type

\Unifapi\Sdk\Model\LinkedinSearchIndustriesGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchJobsGet()

linkedinSearchJobsGet($keyword, $cursor, $sort_by, $date_posted, $geocode, $company, $experience_level, $remote, $job_type, $easy_apply, $has_verifications, $under_10_applicants, $fair_chance_employer): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugJobsGet200Response

Search LinkedIn jobs by keyword and filters

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$keyword = 'keyword_example'; // string | Free-text search query
$cursor = 'cursor_example'; // string
$sort_by = 'sort_by_example'; // string
$date_posted = 'date_posted_example'; // string
$geocode = 'geocode_example'; // string
$company = 'company_example'; // string
$experience_level = 'experience_level_example'; // string
$remote = 'remote_example'; // string
$job_type = 'job_type_example'; // string
$easy_apply = 'easy_apply_example'; // string
$has_verifications = 'has_verifications_example'; // string
$under_10_applicants = 'under_10_applicants_example'; // string
$fair_chance_employer = 'fair_chance_employer_example'; // string

try {
    $result = $apiInstance->linkedinSearchJobsGet($keyword, $cursor, $sort_by, $date_posted, $geocode, $company, $experience_level, $remote, $job_type, $easy_apply, $has_verifications, $under_10_applicants, $fair_chance_employer);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchJobsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
keyword string Free-text search query
cursor string [optional]
sort_by string [optional]
date_posted string [optional]
geocode string [optional]
company string [optional]
experience_level string [optional]
remote string [optional]
job_type string [optional]
easy_apply string [optional]
has_verifications string [optional]
under_10_applicants string [optional]
fair_chance_employer string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugJobsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchLocationsGet()

linkedinSearchLocationsGet($keyword): \Unifapi\\Sdk\Model\LinkedinSearchLocationsGet200Response

Resolve a free-text location into LinkedIn geocode tokens

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$keyword = 'keyword_example'; // string

try {
    $result = $apiInstance->linkedinSearchLocationsGet($keyword);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchLocationsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
keyword string

Return type

\Unifapi\Sdk\Model\LinkedinSearchLocationsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchPeopleGet()

linkedinSearchPeopleGet($cursor, $name, $first_name, $last_name, $title, $company, $school, $geocode_location, $current_company, $profile_language, $industry, $service_category): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPeopleGet200Response

Search LinkedIn people by name, title, company, etc.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$cursor = 'cursor_example'; // string
$name = 'name_example'; // string
$first_name = 'first_name_example'; // string
$last_name = 'last_name_example'; // string
$title = 'title_example'; // string
$company = 'company_example'; // string
$school = 'school_example'; // string
$geocode_location = 'geocode_location_example'; // string
$current_company = 'current_company_example'; // string
$profile_language = 'profile_language_example'; // string
$industry = 'industry_example'; // string
$service_category = 'service_category_example'; // string

try {
    $result = $apiInstance->linkedinSearchPeopleGet($cursor, $name, $first_name, $last_name, $title, $company, $school, $geocode_location, $current_company, $profile_language, $industry, $service_category);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchPeopleGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
cursor string [optional]
name string [optional]
first_name string [optional]
last_name string [optional]
title string [optional]
company string [optional]
school string [optional]
geocode_location string [optional]
current_company string [optional]
profile_language string [optional]
industry string [optional]
service_category string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPeopleGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchPostsGet()

linkedinSearchPostsGet($keyword, $cursor, $date_posted, $sort_by, $from_member, $from_company, $content_type): \Unifapi\\Sdk\Model\LinkedinSearchPostsGet200Response

Search LinkedIn posts by keyword

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$keyword = 'keyword_example'; // string
$cursor = 'cursor_example'; // string
$date_posted = 'date_posted_example'; // string
$sort_by = 'sort_by_example'; // string
$from_member = 'from_member_example'; // string
$from_company = 'from_company_example'; // string
$content_type = 'content_type_example'; // string

try {
    $result = $apiInstance->linkedinSearchPostsGet($keyword, $cursor, $date_posted, $sort_by, $from_member, $from_company, $content_type);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchPostsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
keyword string
cursor string [optional]
date_posted string [optional]
sort_by string [optional]
from_member string [optional]
from_company string [optional]
content_type string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinSearchPostsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinSearchSchoolsGet()

linkedinSearchSchoolsGet($keyword, $cursor): \Unifapi\\Sdk\Model\LinkedinSearchSchoolsGet200Response

Search LinkedIn schools by keyword

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$keyword = 'keyword_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinSearchSchoolsGet($keyword, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinSearchSchoolsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
keyword string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinSearchSchoolsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameAboutGet()

linkedinUsersUsernameAboutGet($username): \Unifapi\\Sdk\Model\LinkedinUsersUsernameAboutGet200Response

Get a LinkedIn profile's 'about' metadata

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameAboutGet($username);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameAboutGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameAboutGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameCertificationsGet()

linkedinUsersUsernameCertificationsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameCertificationsGet200Response

List a LinkedIn user's certifications

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameCertificationsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameCertificationsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameCertificationsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameCommentsGet()

linkedinUsersUsernameCommentsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameCommentsGet200Response

List comments authored by a LinkedIn user

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameCommentsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameCommentsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameCommentsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameContactGet()

linkedinUsersUsernameContactGet($username): \Unifapi\\Sdk\Model\LinkedinUsersUsernameContactGet200Response

Get a LinkedIn user's public contact info

Returns the contact block (websites, phone numbers, twitter handles, address, wechat) the user has chosen to publish on LinkedIn.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameContactGet($username);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameContactGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameContactGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameEducationsGet()

linkedinUsersUsernameEducationsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameEducationsGet200Response

List a LinkedIn user's education

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameEducationsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameEducationsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameEducationsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameExperienceGet()

linkedinUsersUsernameExperienceGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameExperienceGet200Response

List a LinkedIn user's work experience

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameExperienceGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameExperienceGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameExperienceGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameFollowerCountGet()

linkedinUsersUsernameFollowerCountGet($username): \Unifapi\\Sdk\Model\LinkedinUsersUsernameFollowerCountGet200Response

Get a LinkedIn user's follower & connection counts

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameFollowerCountGet($username);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameFollowerCountGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameFollowerCountGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameGet()

linkedinUsersUsernameGet($username): \Unifapi\\Sdk\Model\LinkedinUsersUsernameGet200Response

Get a LinkedIn user profile by URL slug

Returns the canonical LinkedIn profile for the given URL slug (public_identifier). Returns 404 not_found if no such user exists.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string | LinkedIn URL slug, e.g. `williamhgates`

try {
    $result = $apiInstance->linkedinUsersUsernameGet($username);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string LinkedIn URL slug, e.g. `williamhgates`

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameHonorsGet()

linkedinUsersUsernameHonorsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameHonorsGet200Response

List a LinkedIn user's honors and awards

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameHonorsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameHonorsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameHonorsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameImagesGet()

linkedinUsersUsernameImagesGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameImagesGet200Response

List image posts authored by a LinkedIn user

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameImagesGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameImagesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameImagesGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameInterestsCompaniesGet()

linkedinUsersUsernameInterestsCompaniesGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameInterestsCompaniesGet200Response

List companies a LinkedIn user follows

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameInterestsCompaniesGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameInterestsCompaniesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameInterestsCompaniesGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameInterestsGroupsGet()

linkedinUsersUsernameInterestsGroupsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameInterestsGroupsGet200Response

List LinkedIn groups a user follows

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameInterestsGroupsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameInterestsGroupsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameInterestsGroupsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernamePostsGet()

linkedinUsersUsernamePostsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

List posts authored by a LinkedIn user

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernamePostsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernamePostsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinCompaniesSlugPostsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernamePublicationsGet()

linkedinUsersUsernamePublicationsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernamePublicationsGet200Response

List a LinkedIn user's publications

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernamePublicationsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernamePublicationsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernamePublicationsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameReactionsGet()

linkedinUsersUsernameReactionsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameReactionsGet200Response

List reactions a LinkedIn user has placed on posts

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameReactionsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameReactionsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameReactionsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameRecommendationsGet()

linkedinUsersUsernameRecommendationsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameRecommendationsGet200Response

List recommendations written for a LinkedIn user

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameRecommendationsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameRecommendationsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameRecommendationsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameSkillsGet()

linkedinUsersUsernameSkillsGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameSkillsGet200Response

List a LinkedIn user's skills

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameSkillsGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameSkillsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameSkillsGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameVideosGet()

linkedinUsersUsernameVideosGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameVideosGet200Response

List video posts authored by a LinkedIn user

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameVideosGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameVideosGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameVideosGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

linkedinUsersUsernameVolunteersGet()

linkedinUsersUsernameVolunteersGet($username, $cursor): \Unifapi\\Sdk\Model\LinkedinUsersUsernameVolunteersGet200Response

List a LinkedIn user's volunteer experience

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Unifapi\\Sdk\Api\LinkedinApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$username = 'username_example'; // string
$cursor = 'cursor_example'; // string

try {
    $result = $apiInstance->linkedinUsersUsernameVolunteersGet($username, $cursor);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkedinApi->linkedinUsersUsernameVolunteersGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
username string
cursor string [optional]

Return type

\Unifapi\Sdk\Model\LinkedinUsersUsernameVolunteersGet200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]