Get company information
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 () {
},
});
Your partner id, as assigned by Glassdoor
'5317'
Your partner key, as assigned by Glassdoor
'n07aR34Lk3Y'
The IP address of the end user to whom the API results will be shown
'0.0.0.0'
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
''
Query phrase to search for - can be any combination of employer or occupation, but location should be in l param.
'Microsoft'
Scope the search to a specific location by specifying it here - city, state, or country.
'Albuquerque, NM, United States'
An unexpected error occurred.
OK.