def get_locations(self):
url = "<STR_LIT>"<EOL>data = self._get_resource(url)<EOL>locations = []<EOL>for entry in data['<STR_LIT>']:<EOL><INDENT>locations.append(self.location_from_json(entry))<EOL><DEDENT>return locations<EOL>
Returns a list of locations.

http://dev.wheniwork.com/#listing-locations