Integrate Euskalmet API with Your Smart Chatbot

Learn how to integrate Euskalmet API with your AI agent for real-time weather information.


Euskalmet Integration Guide

This guide will walk you through integrating the Euskalmet API with your OpenAssistantGPT chatbot.

Overview

Euskalmet, the Basque Meteorology Agency, provides specialized weather services for the Basque Country region. The service offers highly detailed local weather forecasts, including temperature, precipitation, wind conditions, and marine weather for the Bay of Biscay. It features specific forecasts for mountain areas, coastal regions, and urban centers within the Basque Country. The API provides access to real-time weather data, radar imagery, and historical climate information, making it particularly valuable for applications focused on this unique geographical region.

Integration Steps

1. Review API Documentation

First, visit the Euskalmet API documentation to understand the available endpoints and how they work.

2. Create Custom Action

In your OpenAssistantGPT dashboard:

  1. Go to the Actions Dashboard
  2. Click "Create New Action"
  3. Chose Get or Post
  4. Fill the action form with the following details:

Name: get_euskalmet_data

Description: Get data using Euskalmet

URL: https://opendata.euskadi.eus/api-euskalmet/-/api-de-euskalmet/

Parameters: This will depend on the API you are integrating. Parameters are query parameters passed in the URL.

3. Assign Action to Your Chatbot

  1. Go to your Chatbot Dashboard
  2. Select your chatbot
  3. Go to "Settings" > "Actions"
  4. Add the get_euskalmet_data action to your chatbot

Using the Integration

Your chatbot can now handle weather-related queries. Here are some example questions you can ask:

  • What's the weather like in Bilbao?
  • Check the marine conditions in San Sebastian
  • Is there a mountain weather alert in the Basque Country?

The chatbot will automatically use the Euskalmet API to fetch and return the requested information.

Additional Resources