stackoverflow-jobs

1.0.0 • Public • Published

Stackoverflow Jobs

Build Status Coverage Status

Stackoverflow Jobs rss wrapper purely written in Node.js

Getting Started

Wrapper can be downloaded from npm:

npm install stackoverflow-jobs --save

Once installed, its easy to use it:

var stackoverflowJobs = require('stackoverflow-jobs');

Search for terms

stackoverflowJobs.searchTerm('node').then(function(result){
      result.jobs; // array with Jobs.
      result.total; // Number of results
  }).catch(function(error){
 
  });

Generic searchs

You just need to pass the search parameter for the method

stackoverflowJobs.search({allowsremote : true, offersrelocation: true, location: "USA" }).then(function(result){
      result.jobs; // array with Jobs.
      result.total; // Number of results
  }).catch(function(error){
 
  });

Jobs Object are like e.g:

{
  id: 'an string id of object',
  link: 'link to the job',
  category: [ 'an string array of categories'],
  title: 'Title job',
  description: '<b>HTML description of job</b>',
  pubDate: 'Tue, 08 Dec 2015 22:20:20 Z',//an date Object
  location:'location as string'
}

Issues / Bugs

Please feel free to open a new issue ticket if any occures. I love pull requests so they are also welcome. Before making it out the issue, please do unit tests for your code.

Readme

Keywords

Package Sidebar

Install

npm i stackoverflow-jobs

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

6.9 kB

Total Files

5

Last publish

Collaborators

  • mateusfreira