npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/linkedin

v5.0.0

Published

DataFire integration for LinkedIn

Downloads

2

Readme

@datafire/linkedin

Client library for LinkedIn

Installation and Usage

npm install --save @datafire/linkedin
let linkedin = require('@datafire/linkedin').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Bring user profiles and professional networks to your apps.

Actions

oauthCallback

Exchange the code passed to your redirect URI for an access_token

linkedin.oauthCallback({
  "code": ""
}, context)

Input

  • input object
    • code required string

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

oauthRefresh

Exchange a refresh_token for an access_token

linkedin.oauthRefresh(null, context)

Input

This action has no parameters

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

companies.id.updates.key_update_key.update_comments_as_company.post

linkedin.companies.id.updates.key_update_key.update_comments_as_company.post({
  "id": "",
  "update-key": "",
  "Content-Type": "",
  "x-li-format": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • update-key required string: The unique company update identifier.
    • Content-Type required string: The content type.
    • x-li-format required string: The content type.

Output

Output schema unknown

people._.get

linkedin.people._.get({}, context)

Input

  • input object
    • Accept-Language string: Some members have profiles in multiple languages. To specify the language you prefer, set the values to a comma separated list of locales ordered from highest to lowest preference. For example, if your preferred order is Spanish, then English (American), and finally Italian, your header should be: Accept-Language: es-ES, en-US, it-IT. At present, we will always return data if possible. So, if you specify just one locale, but the member hasn't localized her profile for that locale, we will return data in her primary language. We support any language the member has specified. For example, for Simplified Chinese, use zh-CN. However, the six most popular languages are: en-US, fr-FR, de-DE, it-IT, pt-BR and es-ES.
    • format string

Output

Output schema unknown

people.id_num_connections_picture_url.get

linkedin.people._id_num_connections_picture_url_.get({}, context)

Input

  • input object
    • format string

Output

Output schema unknown

people._.shares.post

linkedin.people._.shares.post({
  "Content-Type": "",
  "x-li-format": ""
}, context)

Input

  • input object
    • Content-Type required string: The content type.
    • x-li-format required string: The content type.
    • format string

Output

Output schema unknown

companies.id.is_company_share_enabled.get

linkedin.companies.id.is_company_share_enabled.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • format string

Output

Output schema unknown

companies.id.relation_to_viewer.is_company_share_enabled.get

linkedin.companies.id.relation_to_viewer.is_company_share_enabled.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • format string

Output

Output schema unknown

companies.get

linkedin.companies.get({}, context)

Input

  • input object
    • start integer: The offset value for paginating company results by.
    • count integer: Maximum number of companies to return.
    • format string

Output

Output schema unknown

companies.id.get

linkedin.companies.id.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • format string

Output

Output schema unknown

companies.id_id_name_ticker_description_.get

linkedin.companies.id_id_name_ticker_description_.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • format string

Output

Output schema unknown

companies.id.updates.get

linkedin.companies.id.updates.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • event-type integer: The offset value for paginating update results by.
    • start integer: The offset value for paginating update results by.
    • count integer: Maximum number of updates to return.
    • format string

Output

Output schema unknown

companies.id.updates.key_update_key.get

linkedin.companies.id.updates.key_update_key.get({
  "id": "",
  "update-key": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • update-key required string: The unique company update identifier.
    • format string

Output

Output schema unknown

companies.id.updates.key_update_key.update_comments.get

linkedin.companies.id.updates.key_update_key.update_comments.get({
  "id": "",
  "update-key": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • update-key required string: The unique company update identifier.
    • format string

Output

Output schema unknown

companies.id.updates.key_update_key.likes.get

linkedin.companies.id.updates.key_update_key.likes.get({
  "id": "",
  "update-key": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • update-key required string: The unique company update identifier.
    • format string

Output

Output schema unknown

companies.id.shares.post

linkedin.companies.id.shares.post({
  "id": "",
  "Content-Type": "",
  "x-li-format": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • Content-Type required string: The content type.
    • x-li-format required string: The content type.
    • format string

Output

Output schema unknown

companies.id.num_followers.get

linkedin.companies.id.num_followers.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • geos string: Segment by a particular geographic area.
    • companySizes string: Segment by a particular company size targeting code.
    • jobFunc string: Segment by member job function targeting code.
    • industries string: Segment by member industry.
    • seniorities string: Segment by member seniority level targeting code.
    • format string

Output

Output schema unknown

companies.id.historical_follow_statistics.get

linkedin.companies.id.historical_follow_statistics.get({
  "id": "",
  "time-granularity": "",
  "start-timestamp": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • time-granularity required string: Granularity of statistics. Supported values are:
    • start-timestamp required string: Starting timestamp of when the stats search should begin (milliseconds since epoch)
    • end-timestamp string: Ending timestamp of when the stats search should end (milliseconds since epoch). The current time will be used if parameter not set.
    • format string

Output

Output schema unknown

companies.id.historical_status_update_statistics.get

linkedin.companies.id.historical_status_update_statistics.get({
  "id": "",
  "time-granularity": "",
  "start-timestamp": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • time-granularity required string: Granularity of statistics. Supported values are:
    • start-timestamp required string: Starting timestamp of when the stats search should begin (milliseconds since epoch)
    • end-timestamp string: Ending timestamp of when the stats search should end (milliseconds since epoch). The current time will be used if parameter not set.
    • update-key string: Optionally provide an update key value to return statistics for a specific company update.
    • format string

Output

Output schema unknown

companies.id.company_statistics.get

linkedin.companies.id.company_statistics.get({
  "id": ""
}, context)

Input

  • input object
    • id required string: The unique internal numeric company identifier.
    • format string

Output

Output schema unknown

Definitions

This integration has no definitions