node-glassdoor
Node.js module for interacting with Glassdoor's API v1.1
( powered by )
Install
npm install --save node-glassdoor
Usage
var Glassdoor = require('node-glassdoor').initGlassdoor({
partnerId: xxxxx,
partnerKey: "xxxxxx"
});
Glassdoor.findOneCompany('google',
{
state:"CA",
country:"US"
})
.then(function (data) {
console.log(data);
})
.catch(function (err) {
console.error(err);
});
Glassdoor.findAllCompanies('google',
{
state:"CA"
})
.then(function (data) {
console.log(JSON.stringify(data));
})
.catch(function (err) {
console.error(err);
})
Test
ID="xxxxx" KEY="xxxxxx" npm test
Reference
TODO
- Make code fancy
- Add those fancy badges
- Add Job API
License
MIT