code: def get_forecast_api(self, longitude: str, latitude: str) -> {}:
          
          api_url = APIURL_TEMPLATE.format(longitude, latitude)
  
          response = urlopen(api_url)
          data = response.read().decode('utf-8')
          json_data = json.loads(data)
  
          return json_data
docs: gets data from API