Socket
Socket
Sign inDemoInstall

linkedin-api-scrapper

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedin-api-scrapper

## Installation


Version published
Weekly downloads
13
increased by1200%
Maintainers
1
Weekly downloads
 
Created
Source

scrap-linkedin-api

Installation

npm install scrap-linkedin-api --save

Usage

Query jobs

The API results is 10 jobs. If you want to load all results, implements a loop with a try catch to retry if there's a failure and keep incrementing the start by 10 when it succeeds.

Example
import * as scrapper from "./index";

// Get the first 10 jobs for my query
const jobs = scrapper
  .queryJobs({
    query: {
      keywords: ["engineer"],
      location: "Australia",
      locationType: 1,
    },
    start: 0,
  });
Args
ArgumentDescriptionOptions
keywordsKeywords to search for in job titlesArray of strings, e.g., ['engineer']
locationLocation filter for job searchString, e.g., 'Australia'
locationTypeType of locationNumber, e.g, 1 = on site; 2 = remote; 3 = hybrid
sortBySorting criteria for job resultsString, e.g., 'relevant', 'recent'
debugPrint debug logBoolean

You can adjust the options as needed for your specific query requirements.

FAQs

Package last updated on 01 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc