A client library for searching Indeed jobs without using the official API. There are a couple advantages to this, including not requiring authorization, as well as being able to fetch search results for third-party job ads. If you are looking for a client library for the official API, use Indeed's official gem instead.
Installation
Add this line to your application's Gemfile:
gem 'indeed_jobsearch'
And then execute:
$ bundle
Or install it yourself as:
$ gem install indeed_jobsearch
Usage
require 'indeed_jobsearch'
search = IndeedJobsearch::Search.new(job_title, city)
results = search.page(1)
This will return an array of SearchResult objects with the following readable attributes:
- Job title
- Company
- Location
- Time the job was posted
- Time the job was scraped
- Job URL
Please note that this library does not enforce rate limiting. Please be courteous and limit usage to an appropriate rate.
Contributing
- Fork it ( https://github.com/andrew-carroll/indeed_jobsearch/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request