Overview

Welcome to the OpenWeatherMap integration guide for Julep! This integration allows you to seamlessly access weather data for various locations, enabling you to build workflows that require real-time weather information.

Prerequisites

To use the OpenWeatherMap integration, you need an API key. You can obtain this key by signing up at OpenWeatherMap.

How to Use the Integration

To get started with the OpenWeatherMap integration, follow these steps to configure and create a task:

1

Configure Your API key

Add your API key to the tools section of your task. This will allow Julep to authenticate requests to OpenWeatherMap on your behalf.

2

Create Task Definition

Use the following YAML configuration to request weather data service in your task definition:

Weather Request Example
name: Weather Request
tools:
  - name: weather_call
    type: integration
    integration:
      provider: weather
      method: get
      setup:
        openweathermap_api_key: {openweathermap_api_key}
main:
  - tool: weather_call
    arguments:
      location: "London"
3

Run Task

Deploy your task by creating a new execution.

YAML Explanation

Remember to replace {openweathermap_api_key} with your actual API key.

Conclusion

With the OpenWeatherMap integration, you can easily incorporate weather data into your workflows. This integration provides a robust solution for accessing real-time weather information, enhancing your workflowโ€™s functionality and user experience.

For more information, please refer to the OpenWeatherMap documentation.