Glassdoor.getCompany()

Get company information

Usage

Hover over inputs/exits for more info.

var Glassdoor = require('machinepack-glassdoor');


// Get company information

Glassdoor.getCompany({

partnerId: '5317',

partnerKey: 'n07aR34Lk3Y',

userIp: '0.0.0.0',

userAgent: '',

q: 'Microsoft',

l: 'Albuquerque, NM, United States',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

partnerId required

Your partner id, as assigned by Glassdoor

'5317'
partnerKey required

Your partner key, as assigned by Glassdoor

'n07aR34Lk3Y'
userIp required

The IP address of the end user to whom the API results will be shown

'0.0.0.0'
userAgent required

The User-Agent (browser) of the end user to whom the API results will be shown. Note that you can can obtain this from the "User-Agent" HTTP request header from the end-user

''
q required

Query phrase to search for - can be any combination of employer or occupation, but location should be in l param.

'Microsoft'
l

Scope the search to a specific location by specifying it here - city, state, or country.

'Albuquerque, NM, United States'

Exits

error

An unexpected error occurred.

success

OK.