This is the API documentation for the Ethio Job Scraper API. It retrieves job listings from the database with optional filters and sorting options.
Use the x-api-key
header for authentication. Ensure that the x-api-key
header is included in your request to access this endpoint.
Example:
x-api-key: $2b$10$nmoPHzeiiBfB8i828GQQ/.Fk1Joiutok01.yFRxYIGQZidpGvamge
GET /jobs
Retrieve job listings from the database with optional filters and sorting options.
Parameters:
filter
: (optional) Apply filters to the job listings.sort
: (optional) Apply sorting to the job listings.
Response:
{
"jobs": [
{
"id": "1",
"title": "Software Engineer",
"company": "Example Company",
"location": "Addis Ababa",
"description": "Job description here...",
"posted_date": "2023-07-25"
},
]
}
curl -H "x-api-key: $2b$10$nmoPHzeiiBfB8i828GQQ/.Fk1Joiutok01.yFRxYIGQZidpGvamge" \
-X GET "https://api.example.com/jobs?filter=location:Addis%20Ababa&sort=posted_date:desc"
To set up the development environment, follow these steps:
-
Clone the repository:
git clone https://github.com/Chaos-19/ethio-job-scraper-api.git
-
Navigate to the project directory:
cd ethio-job-scraper-api
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please contact [email protected].
Thank you for using the Ethio Job Scraper API!