Merge branch 'master' of https://github.com/VishwaGauravIn/linkedin-jobs-api
This commit is contained in:
90
README.md
90
README.md
@@ -1 +1,89 @@
|
||||
# linkedin-jobs-api
|
||||
<div align="center">
|
||||
<h1> <img src="https://www.freepnglogos.com/uploads/linkedin-logo-design-30.png" width="80px"><br/>LinkedIn Jobs API</h1>
|
||||
<a href="https://itsvg.in" target="_blank"><img src="https://img.shields.io/badge/Creator-Vishwa%20Gaurav-blue?style=plastic"/></a>
|
||||
<img src="https://img.shields.io/npm/v/linkedin-jobs-api?label=%20&style=plastic"/>
|
||||
<img src="https://img.shields.io/npm/dt/linkedin-jobs-api?style=plastic">
|
||||
<img src="https://img.shields.io/snyk/vulnerabilities/github/VishwaGauravIn/linkedin-jobs-api?style=plastic"/>
|
||||
<img src="https://img.shields.io/badge/License-GPL%20v3-brightgreen?style=plastic"/>
|
||||
<img src="https://img.shields.io/github/languages/code-size/VishwaGauravIn/linkedin-jobs-api?logo=github&style=plastic">
|
||||
</div>
|
||||
|
||||
## Features
|
||||
- ⚡ Lightening Fast
|
||||
- ✨ Minimal
|
||||
- 🪶 Lightweight
|
||||
- 🔥 Advanced Filters
|
||||
- 🤩 Support all Frameworks
|
||||
|
||||
## How to Install ?
|
||||
Use npm or yarn to install this npm package
|
||||
|
||||
```
|
||||
npm i linkedin-jobs-api
|
||||
```
|
||||
or
|
||||
```
|
||||
yarn add linkedin-jobs-api
|
||||
```
|
||||
|
||||
Include the package
|
||||
|
||||
```
|
||||
const linkedIn = require('linkedin-jobs-api');
|
||||
```
|
||||
|
||||
Basic Example:
|
||||
|
||||
```
|
||||
const linkedIn = require('linkedin-jobs-api');
|
||||
|
||||
const queryOptions = {
|
||||
keyword: 'software engineer',
|
||||
location: 'India',
|
||||
dateSincePosted: 'past Week',
|
||||
jobType: 'full time',
|
||||
remoteFilter: 'remote',
|
||||
salary: '100000',
|
||||
experienceLevel: 'entry level',
|
||||
limit: '10'
|
||||
};
|
||||
|
||||
linkedIn.query(queryOptions).then(response => {
|
||||
console.log(response); // An array of Job objects
|
||||
});
|
||||
```
|
||||
|
||||
## Query Object Parameters
|
||||
|
||||
query() accepts a _queryOptions_ object and returns an array of _Job_ objects.
|
||||
|
||||
| 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
|
||||
|
||||
## Contributing
|
||||
|
||||
Feel free to contribute!
|
||||
|
||||
1. Fork the repository
|
||||
2. Make changes
|
||||
3. Submit a pull request
|
||||
|
||||
Reference in New Issue
Block a user