1.7.2 • Published 3 years ago

bmw-lac v1.7.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Linkedin API Client

Node.js client for Linkedin API

Install

npm i bmw-lac

Usage

import { LinkedinClient } from 'bmw-tac';

const linkedinClient = new LinkedinClient({
  bearerToken: '<YOUR-LINKEDIN-BEARER-TOKEN>',
  xRestliProtocolVersion: '2.0.0',
  linkedinVersion: '2.0.0',
});

See all available methods here.

Configuration

You can configure the caching behavior upon instantiation of the client:

const linkedinClient = new LinkedinClient({
  bearerToken: '<YOUR-LINKEDIN-BEARER-TOKEN>',
  xRestliProtocolVersion: '2.0.0',
  linkedinVersion: '2.0.0',
  ttl: 120, // seconds. Defaults to 360
  disableCache: true, // Disables the caching behavior. Defaults to 'false'
  maxByteSize: 32000000, // Maximum (approximated) memory size for cache store. Defaults to 16000000.
});
1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago