0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Gets jobs from multiple sources and return a list of them normalised to Job objects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.1.0
~> 0.0.3
~> 0.7.0
 Project Readme

Job Grabber

Integrates with Job APIs to deliver jobs in a standardised Job list.

Useage

Add it to your gemfile (and bundle install)

gem 'job-grabber'

or

gem install job-grabber
require 'job-grabber'
JobGrabber::Base.new(["reddit:forhire"])
# or
JobGrabber::Controller.new().jobs

Docs

Coming soon

The code

##Base (base.rb) JobGrabber::Base loops through sources and returns an array of Job objects populated with the data found at specified sources. It currently has adapters for Reddit, Workinstartups and HackerNews Jobs. ##Controller (controller.rb) The JobGrabber::Controller holds the jobs, sources and filters content before returning it. There is scope here for inheriting from this for multiple platforms. ##SrcGrabber (src_grabber.rb) JobGrabber::SrcGrabber grabs jobs from a specified source, it uses the factory/adapter pattern and has 3 adapters: reddit.rb, workinstartups.rb and hackernews.rb. ##Adapters (/adapters) We have three adapters for Reddit, WorkInStartups and HNJobs, that use Redd, workinstartups-api and hnjobs, respectively. ##Job The JobGrabber::Job object has the following fields: origin, id, title, description, created_at and link, all returned as strings.

Copyright (c) 2016, Hugo Di Francesco and awebots.

This project is licensed under the MIT License.