Provide richer "suggestions" results
Closed this issue · 1 comments
mekarpeles commented
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
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.