hackerlist / glassdoor

Python API for Glassdoor.com
MIT License
81 stars 35 forks source link

Provide richer "suggestions" results #8

Closed mekarpeles closed 10 years ago

mekarpeles commented 10 years ago

Each suggestion within the suggestions list should be a lightweight object (the repr of suggestions, however, should display "as is") which has an instancemethod to retrieve it's record's glassdoor info.

mekarpeles commented 10 years ago

Each suggestion result should be a dictionary, e.g. {"name": "Google", "slug": "Working-at-Google-EI_IE9079.11,17.htm"} which provides enough data to issue another glassdoor.gd.get using 'company_slug'.

This entails refactoring the exact_match function by pulling out the "suggestions" parsing into its own function which can be used for the suggestions_parser as well as the exact_match parser.