stackoverflow-jobs
v1.0.0
Published
Stackoverflow jobs wrapper purely written in Node.js
Downloads
18
Readme
Stackoverflow Jobs
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.