doobix / seeglassdoor

A Chrome extension for seeing Glassdoor info while on a company's website.
MIT License
15 stars 0 forks source link

Option to add salaries? #2

Open rzfzr opened 1 month ago

rzfzr commented 1 month ago

First of all, props for the extension, it is very useful, I bet that if you post about it on sideproject/CScareers related subreddits it will be very popular in no time.

For me the most infuriating part of browsing the site is the salaries, as sometimes it shows "X Salaries" but not one is listed unless you filter by the 'right' country and some moons align. Do you have any ideas on how to extend that lambda endpoint for this? If you have any ideas on how to start, I am willing to work on it.

doobix commented 1 month ago

Hey thanks for your feedback! I don't think we can add salaries as the Glassdoor API is very basic and only provides limited data such as some ratings and one featured review. See docs: https://www.glassdoor.com/developer/companiesApiActions.htm

rzfzr commented 1 month ago

Huhm... I assumed you were scraping as you have that lambda function going. The API does mention about salaries

The particular API call that you would like to make - see jobs, reviews, salaries, etc. sub-sections for details

I feel like the documentation is lacking a bit, I will prop around when possible

doobix commented 1 month ago

Oh interesting. Yea the documentation is very lacking. I just tried action=salaries&q=google in the API and didn't get anything useful:

{
    success: true,
    status: "OK",
    jsessionid: "",
    response: {
        attributionURL: "https://www.glassdoor.com/Salaries/google-salary-SRCH_KE0,6.htm",
        currentPageNumber: 1,
        totalNumberOfPages: 0,
        totalRecordCount: 0,
        dateUpdates: "",
        locale: "",
        countryId: 1,
        currency: {
            code: "",
            symbol: ""
        },
        medians: [],
        employerSalaryGroup: []
    }
}