Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More →
Socket
Sign inDemoInstall
Socket

linkedin-jobs-api

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedin-jobs-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

index.js

@@ -179,7 +179,13 @@ const cheerio = require("cheerio");

const jobUrl = job.find(".base-card__full-link").attr("href") || "";
const companyLogo =
job.find(".artdeco-entity-image").attr("data-ghost-url") || "";
const agoTime =
job.find(".job-search-card__listdate").text().trim() || "";
return {
position: position,
company: company,
companyLogo: companyLogo,
location: location,
date: date,
agoTime: agoTime,
salary: salary,

@@ -186,0 +192,0 @@ jobUrl: jobUrl,

2

package.json
{
"name": "linkedin-jobs-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "advanced node.js package for getting job listings from LinkedIn",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,9 +12,11 @@ <div align="center">

## Features
- ⚡ Lightening Fast
- ✨ Minimal
- đŸĒļ Lightweight
- đŸ”Ĩ Advanced Filters
- đŸ”Ĩ Advanced Filters
- 🤩 Support all Frameworks
## How to Install ?
Use npm or yarn to install this npm package

@@ -25,3 +27,5 @@

```
or
```

@@ -62,25 +66,44 @@ yarn add linkedin-jobs-api

| Parameter | LinkedIn Default value| Description |
|:-----------:|:---------------------:|:----------------------------------------------------------------------------------------------:|
| keyword | "" | _string_ - The text to search: (i.e. Software Developer) |
| location | "" | _string_ - The name of the city: (i.e. Los Angeles)
| dateSincePosted| "" | _string_ - Max range of jobs: `past month`, `past week`, `24hr`
| jobType | "" | _string_ - Type of position: `full time`, `part time`, `contract`, `temporary`, `volunteer`, `internship`
| remoteFilter| "" | _string_ - Filter telecommuting: `on site`, `remote`, `hybrid`
| salary | "" | _string_ - Minimum Salary: `40000`, `60000`, `80000`, `100000`, `120000`
| experienceLevel| "" | _string_ - `internship`, `entry level`, `associate`, `senior`, `director`, `executive`
| limit | "" | _string_ - Number of jobs returned: (i.e. '1', '10', '100', etc)
| sortBy | "" | _string_ - `recent`, `relevant`
| Parameter | LinkedIn Default value | Description |
| :-------------: | :--------------------: | :-------------------------------------------------------------------------------------------------------: |
| keyword | "" | _string_ - The text to search: (i.e. Software Developer) |
| location | "" | _string_ - The name of the city: (i.e. Los Angeles) |
| dateSincePosted | "" | _string_ - Max range of jobs: `past month`, `past week`, `24hr` |
| jobType | "" | _string_ - Type of position: `full time`, `part time`, `contract`, `temporary`, `volunteer`, `internship` |
| remoteFilter | "" | _string_ - Filter telecommuting: `on site`, `remote`, `hybrid` |
| salary | "" | _string_ - Minimum Salary: `40000`, `60000`, `80000`, `100000`, `120000` |
| experienceLevel | "" | _string_ - `internship`, `entry level`, `associate`, `senior`, `director`, `executive` |
| limit | "" | _string_ - Number of jobs returned: (i.e. '1', '10', '100', etc) |
| sortBy | "" | _string_ - `recent`, `relevant` |
## Job Objects
| Paramter | Description (Default: null) |
|:-----------:|:----------------------------------------------------------------------------------------------:|
| position | _string_ - Position title
| company | _string_ - Company name
| location | _string_ - Location of the job
| date | _string_ - Date the job was posted
| salary | _string_ - Salary range
| jobUrl | _string_ - URL of the job page
| Paramter | Description (Default: null) |
| :---------: | :---------------------------------: |
| position | _string_ - Position title |
| company | _string_ - Company name |
| companyLogo | _string_ - Company Logo |
| location | _string_ - Location of the job |
| date | _string_ - Date the job was posted |
| agoTime | _string_ - time since it was posted |
| salary | _string_ - Salary range |
| jobUrl | _string_ - URL of the job page |
## Example Response
```json
[
{
"position": "Human Resources Administrator",
"company": "The Hub",
"companyLogo": "https://static.licdn.com/aero-v1/sc/h/9a9u41thxt325ucfh5z8ga4m8",
"location": "India",
"date": "2023-11-20",
"agoTime": "2 days ago",
"salary": "",
"jobUrl": "https://in.linkedin.com/jobs/view/human-resources-administrator-at-the-hub-3765436573?refId=rWSjK9izzZ1ZNnUZYzqp8Q%3D%3D&trackingId=X6uox0Xk%2FRQmqkuHpO%2BdrQ%3D%3D&position=1&pageNum=0&trk=public_jobs_jserp-result_search-card"
}
]
```
## Contributing

@@ -87,0 +110,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡ī¸ by Socket Inc