A Python library to aggregate job listings from various APIs.
Project description
Quick Start
Once you clone this, create a virtual environment
> python -m venv venv
Activate the Virtual Environment
Windows:
> .\venv\Scripts\activate
Mac/Linux:
> source venv/bin/activate
Install Dependencies
> pip install -r requirements.txt
Get started quickly by testing with Remotive since you don't need a key
from apis import Remotive
remotive_params = {
"search": "c#"
}
test_search = Remotive(params=remotive_params)
r = test_search.get_results()
# please work...
print(r)
Create a .env file to keep your credentials
# If you're using any source control don't forget to ignore this file!
ADZUNA_APP_ID=[APP_ID]
ADZUNA_APP_KEY=[APP_KEY]
# Create a new search for Adzuna
from apis import Adzuna
# Refer to Adzuna API docs for full list of parameters
params = {
"results_per_page": 25,
"what_and": "software engineer c# remote",
"max_days_old": 5,
"salary_min": 80000,
"full_time": "1"
}
new_search = Adzuna(page=1, params=params)
r = new_search.get_results()
# Display the JSON results
print(r)
Aggregator Example
from apis import Adzuna, Remotive, Usajobs
from aggregator import JobAggregator
adzuna_params = {
"results_per_page": 25,
"what_and": "software engineer c# remote",
"max_days_old": 5,
"salary_min": 80000,
"full_time": "1"
}
remotive_params = {
"search": "c#"
}
usajobs_params = {
"Keyword": "software+engineer",
"remoteorteleworkonly": "true",
"whomayapply": "public",
"dateposted": "5"
}
clients = [
Adzuna(params=adzuna_params),
Remotive(params=remotive_params),
Usajobs(params=usajobs_params)
]
agg = JobAggregator(clients)
data = agg.fetch_all_jobs()
# Look at dem jobbies!
print(data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mikelja-0.0.1.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mikelja-0.0.1.tar.gz.
File metadata
- Download URL: mikelja-0.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70aab26fb848e18040963ba6e6e9b88167f5f2cfb50a74964f1b7d18fdaf7295
|
|
| MD5 |
04c6314f0081326ac7f26305103de421
|
|
| BLAKE2b-256 |
188bc18664fcd08038c23fd3f45c4c1ddc5dfa51349d19a2ee9d06f01d1c4290
|
File details
Details for the file mikelja-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mikelja-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb71ab576e5a467b20be5fe179ee393bb39fcb9b0fea6b2a8e9cb6b4959f6d9f
|
|
| MD5 |
52cd0343714acead163e2d808b70e5ce
|
|
| BLAKE2b-256 |
2d57318ddb110678aed93e1afd4d0f256e7aae6370e0929f91475782c4976e5f
|