Skip to content
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.
/ job-grabber Public archive

Gets jobs from multiple sources and return a list of them normalised to Job objects

License

Notifications You must be signed in to change notification settings

HugoDF/job-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Gets jobs from multiple sources and return a list of them normalised to Job objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages