linkedin-job-search


Namelinkedin-job-search JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Tushar503/linkedin-search-job
SummaryA package Search jobs from Linkdin
upload_time2024-08-04 15:43:01
maintainerNone
docs_urlNone
authorToshar Saini
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Here's the complete `README.md` file content for your package:

```markdown
# linkedin-search-job

A Python package to scrape job listings from LinkedIn based on various filters.

## Installation

Install the package using pip:

```sh
pip install linkedin-job-search
```

## Usage

### From the Command Line

You can run the scraper directly from the command line:

```sh
linkedin_search_job
```

### As a Module in a Python Script

You can also use the package in your own Python script:

```python
from linkedin_search_job.scraper import scrape_jobs

# Define your parameters
job_keyword = "AngularJS"
location = 'UnitedStates'
f_WT = "1,2"  # Work type: 1 for Onsite, 2 for Hybrid, 3 for Remote
f_JT = "F,P"  # Job type: F for Full-time, P for Part-time, C for Contract, T for Temporary, V for Volunteer
f_E = "5"     # Experience level: 1 for Internship, 2 for Entry level, 3 for Associate, 4 for Director, 5 for Executive
f_SB2 = '4'   # Salary: 1 for $40,000, 2 for $60,000, 3 for $80,000, 4 for $100,000, 5 for $120,000 (only one value allowed)
start = "0"   # Pagination: 0 for the first 10 results, 9 for the next 10, 18 for the next 10, and so on

# Call the function
jobs = scrape_jobs(job_keyword, location, f_WT, f_JT, f_E, f_SB2, start)

# Process the results
for job in jobs:
    print(f"Job Title: {job['title']}")
    print(f"Company: {job['company']}")
    print(f"Location: {job['location']}")
    print(f"Job Link: {job['job_link']}")
    print('---')
```

### Parameters

- `job_keyword`: The job keyword to search for (e.g., "Angular developer").
- `location`: The location to search in (e.g., "UnitedStates").
- `f_WT`: Work type. Use comma-separated values for multiple filters.
  - 1: Onsite
  - 2: Hybrid
  - 3: Remote
- `f_JT`: Job type. Use comma-separated values for multiple filters.
  - F: Full-time
  - P: Part-time
  - C: Contract
  - T: Temporary
  - V: Volunteer
- `f_E`: Experience level. Use comma-separated values for multiple filters.
  - 1: Internship
  - 2: Entry level
  - 3: Associate
  - 4: Director
  - 5: Executive
- `f_SB2`: Salary. Only one value allowed.
  - 1: $40,000
  - 2: $60,000
  - 3: $80,000
  - 4: $100,000
  - 5: $120,000
- `start`: Pagination. Start from 0 for the first 10 results, 9 for the next 10, 18 for the next 10, and so on.

### Example

To search for "AngularJS" jobs in the United States, with work types as Onsite or Hybrid, job types as Full-time or Part-time, executive level experience, a salary of $100,000, and starting from the first page:

```python
job_keyword = "AngularJS"
location = 'UnitedStates'
f_WT = "1,2"
f_JT = "F,P"
f_E = "5"
f_SB2 = '4'
start = "0"

# Call the function
jobs = scrape_jobs(job_keyword, location, f_WT, f_JT, f_E, f_SB2, start)

# Process the results
for job in jobs:
    print(f"Job Title: {job['title']}")
    print(f"Company: {job['company']}")
    print(f"Location: {job['location']}")
    print(f"Job Link: {job['job_link']}")
    print('---')
```

If you want to filter by multiple values, pass the argument values separated by commas. For pagination, pass 0 to get the first 10 records, then pass 9 to get the next 10 records, and so on.

## License

This project is licensed under the MIT License. See the LICENSE file for details.
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Tushar503/linkedin-search-job",
    "name": "linkedin-job-search",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Toshar Saini",
    "author_email": "tusharsaini503@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3f/97/4c1358cbd0107b5baa4bf0265cae594383ac9c199972ff33169182c308c1/linkedin_job_search-0.1.0.tar.gz",
    "platform": null,
    "description": "Here's the complete `README.md` file content for your package:\r\n\r\n```markdown\r\n# linkedin-search-job\r\n\r\nA Python package to scrape job listings from LinkedIn based on various filters.\r\n\r\n## Installation\r\n\r\nInstall the package using pip:\r\n\r\n```sh\r\npip install linkedin-job-search\r\n```\r\n\r\n## Usage\r\n\r\n### From the Command Line\r\n\r\nYou can run the scraper directly from the command line:\r\n\r\n```sh\r\nlinkedin_search_job\r\n```\r\n\r\n### As a Module in a Python Script\r\n\r\nYou can also use the package in your own Python script:\r\n\r\n```python\r\nfrom linkedin_search_job.scraper import scrape_jobs\r\n\r\n# Define your parameters\r\njob_keyword = \"AngularJS\"\r\nlocation = 'UnitedStates'\r\nf_WT = \"1,2\"  # Work type: 1 for Onsite, 2 for Hybrid, 3 for Remote\r\nf_JT = \"F,P\"  # Job type: F for Full-time, P for Part-time, C for Contract, T for Temporary, V for Volunteer\r\nf_E = \"5\"     # Experience level: 1 for Internship, 2 for Entry level, 3 for Associate, 4 for Director, 5 for Executive\r\nf_SB2 = '4'   # Salary: 1 for $40,000, 2 for $60,000, 3 for $80,000, 4 for $100,000, 5 for $120,000 (only one value allowed)\r\nstart = \"0\"   # Pagination: 0 for the first 10 results, 9 for the next 10, 18 for the next 10, and so on\r\n\r\n# Call the function\r\njobs = scrape_jobs(job_keyword, location, f_WT, f_JT, f_E, f_SB2, start)\r\n\r\n# Process the results\r\nfor job in jobs:\r\n    print(f\"Job Title: {job['title']}\")\r\n    print(f\"Company: {job['company']}\")\r\n    print(f\"Location: {job['location']}\")\r\n    print(f\"Job Link: {job['job_link']}\")\r\n    print('---')\r\n```\r\n\r\n### Parameters\r\n\r\n- `job_keyword`: The job keyword to search for (e.g., \"Angular developer\").\r\n- `location`: The location to search in (e.g., \"UnitedStates\").\r\n- `f_WT`: Work type. Use comma-separated values for multiple filters.\r\n  - 1: Onsite\r\n  - 2: Hybrid\r\n  - 3: Remote\r\n- `f_JT`: Job type. Use comma-separated values for multiple filters.\r\n  - F: Full-time\r\n  - P: Part-time\r\n  - C: Contract\r\n  - T: Temporary\r\n  - V: Volunteer\r\n- `f_E`: Experience level. Use comma-separated values for multiple filters.\r\n  - 1: Internship\r\n  - 2: Entry level\r\n  - 3: Associate\r\n  - 4: Director\r\n  - 5: Executive\r\n- `f_SB2`: Salary. Only one value allowed.\r\n  - 1: $40,000\r\n  - 2: $60,000\r\n  - 3: $80,000\r\n  - 4: $100,000\r\n  - 5: $120,000\r\n- `start`: Pagination. Start from 0 for the first 10 results, 9 for the next 10, 18 for the next 10, and so on.\r\n\r\n### Example\r\n\r\nTo search for \"AngularJS\" jobs in the United States, with work types as Onsite or Hybrid, job types as Full-time or Part-time, executive level experience, a salary of $100,000, and starting from the first page:\r\n\r\n```python\r\njob_keyword = \"AngularJS\"\r\nlocation = 'UnitedStates'\r\nf_WT = \"1,2\"\r\nf_JT = \"F,P\"\r\nf_E = \"5\"\r\nf_SB2 = '4'\r\nstart = \"0\"\r\n\r\n# Call the function\r\njobs = scrape_jobs(job_keyword, location, f_WT, f_JT, f_E, f_SB2, start)\r\n\r\n# Process the results\r\nfor job in jobs:\r\n    print(f\"Job Title: {job['title']}\")\r\n    print(f\"Company: {job['company']}\")\r\n    print(f\"Location: {job['location']}\")\r\n    print(f\"Job Link: {job['job_link']}\")\r\n    print('---')\r\n```\r\n\r\nIf you want to filter by multiple values, pass the argument values separated by commas. For pagination, pass 0 to get the first 10 records, then pass 9 to get the next 10 records, and so on.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the LICENSE file for details.\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A package Search jobs from Linkdin",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/Tushar503/linkedin-search-job"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11f214a68c0ac1a6cae70a3c332c339ae42f335c5d9215473f76d7787dbd5f52",
                "md5": "8c8362c4a8d96316d018bd5e9a859415",
                "sha256": "d687c1292fabb5047c2c72caebea16caa2d83679db62ff42abaf9013ce6ef32b"
            },
            "downloads": -1,
            "filename": "linkedin_job_search-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8c8362c4a8d96316d018bd5e9a859415",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5228,
            "upload_time": "2024-08-04T15:42:59",
            "upload_time_iso_8601": "2024-08-04T15:42:59.105525Z",
            "url": "https://files.pythonhosted.org/packages/11/f2/14a68c0ac1a6cae70a3c332c339ae42f335c5d9215473f76d7787dbd5f52/linkedin_job_search-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f974c1358cbd0107b5baa4bf0265cae594383ac9c199972ff33169182c308c1",
                "md5": "8e9306e7695faa7c461d0b8f0464c96e",
                "sha256": "b09b5e20c01137c14c026fd3baf089380be0b2463e6fa99dcf645b5ddfd2987d"
            },
            "downloads": -1,
            "filename": "linkedin_job_search-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8e9306e7695faa7c461d0b8f0464c96e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4281,
            "upload_time": "2024-08-04T15:43:01",
            "upload_time_iso_8601": "2024-08-04T15:43:01.301756Z",
            "url": "https://files.pythonhosted.org/packages/3f/97/4c1358cbd0107b5baa4bf0265cae594383ac9c199972ff33169182c308c1/linkedin_job_search-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-04 15:43:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Tushar503",
    "github_project": "linkedin-search-job",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "linkedin-job-search"
}
        
Elapsed time: 0.29236s