def get_daily_forecasts_by_location(self, location_id):
        url = '{0}{1}/{2}?res=daily&key={3}'.format(BASE_METOFFICE_URL,
                self.FORECAST_FRAGMENT_URL, location_id, settings.API_KEYS['metoffice'])
        logger.debug('MetOffice: %s' % url)
        content = urlopen(url).read()
        return self.scrape_xml(content)
dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/weather/providers/metoffice.py/ApiWrapper.get_daily_forecasts_by_location/original