Skip to content

lazylazylazy/stackable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stackable

Stackable is a an Ruby API wrapper for the unofficial SO jobs API.

Inspired by thispost.

IMPORTANT! Database is still work in progress. Please come back Friday 14th 2013!

Installation

Add this line to your application's Gemfile:

gem "stackable", "~> 0.0.1"

And then execute:

$ bundle

Or install it yourself via rubygems:

$ gem install stackable

Example output

Too hard to digest? download a JSON viewer extension to make it a little prettier :)

Usage

require 'stackable'

Stackable.new.all_jobs
#Retrieves all jobs as an array of hashes

Stackable.new.get_job(job_id)
#Retrieves by job id. Job_id is the unique identifier exposed in the url of the job description on SO jobs.

Stackable.new.get_jobs_by_tags(tags=[])
#Retrives jobs by tech stack e.g. ruby, java, HTML

Stackable.new.get_all_companies
#Retrieves all companies

Stackable.new.get_companies(company_id)
#Retrieves by company_id. company_id is exposed in the url of the company profile pages. 

Stackable.new.get_companies_by_tags(tags=[])
#Retrives companies by tech stack e.g. ruby, java, HTML

Stackable.new.relocation_offered?
#Retrives jobs where relocation is offered

Stackable.new.remote_working?
#Retrives jobs where remote working is offered

Stackable.new.senior
#Retrives jobs where job title contains Senior

Stackable.new.companies_by_benefits(benefits=[])
#Retrives companies which match benefit parameters e.g. childcare, gym

Stackable.new.jobs_by_location(location)
#Retrives jobs which match the location passed e.g. london

Known Bugs

  • ?????

Contributing

  1. Fork it ( http://github.com//stackable/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Desired Features

  • Request location by City / State / Country. Currently limited by string match.

Contributors

License

Stackable is released under the MIT License.

Written as a Final Project for Makers Academy.

About

Ruby wrapper for unofficial stackoverflow api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages