Custom Connector

Singapore Real-time Weather Connector

Singapore

The Singapore Real-time Weather Connector facilitates seamless integration with the Singapore Real-time Weather API, providing access to air temperature, relative humidity, wind speed, wind direction, and rainfall across Singapore. It acts as a proxy supporting real-time and historical weather data, with JSON responses.

Type
Virtual machines, Single VM, BYOL
Runs on
Google Compute Engine
Last update
24 Oct 2024
Category
Integration
Overview

Integration Overview

This document provides a detailed guide for each integration point, its purpose, configuration, and workflow support using the Singapore Real-time Weather Connector.

  • getAirTemperature. Retrieves air temperature readings across Singapore.
  • getRelativeHumidity. Retrieves relative humidity readings across Singapore.
  • getWindSpeed. Retrieves wind speed readings across Singapore.
  • getWindDirection. Retrieves wind direction readings across Singapore.
  • getRainfall. Retrieves rainfall readings across Singapore.
Documentation

Detailed Integration Documentation

Get Air Temperature

ActiongetAirTemperature
PurposeRetrieves real-time or historical air temperature readings across Singapore, optionally filtered by date or date-time.
ConfigurationConfigure the base URL via CONNECTOR_ENV_SINGAPOREWEATHER_BASE_URL.
ParametersOptional:
date – SGT date (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS). paginationToken – token for the next page. key – API key (optional, for higher rate limits).
OutputSuccessful: JSON with code, errorMsg, and data (stations, readings, readingType: DBT 1M F, readingUnit: deg C, paginationToken). Failure: ERROR_PARAMS (e.g. invalid date format).
Workflow exampleExecute getAirTemperature with optional date=2024-07-16, then display air temperature readings in a weather dashboard.

Get Relative Humidity

ActiongetRelativeHumidity
PurposeRetrieves real-time or historical relative humidity readings across Singapore.
ConfigurationConfigure the base URL via CONNECTOR_ENV_SINGAPOREWEATHER_BASE_URL.
ParametersOptional:
date – SGT date (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS). paginationToken – token for the next page. key – API key (optional, for higher rate limits).
OutputSuccessful: JSON with code, errorMsg, and data (stations, readings, readingType: RH 1M F, readingUnit: percentage, paginationToken). Failure: ERROR_PARAMS (e.g. invalid date format).
Workflow exampleExecute getRelativeHumidity with optional date=2024-07-16T23:59:00 for environmental monitoring applications.

Get Wind Speed

ActiongetWindSpeed
PurposeRetrieves real-time or historical wind speed readings across Singapore.
ConfigurationConfigure the base URL via CONNECTOR_ENV_SINGAPOREWEATHER_BASE_URL.
ParametersOptional:
date – SGT date (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS). paginationToken – token for the next page. key – API key (optional, for higher rate limits).
OutputSuccessful: JSON with code, errorMsg, and data (stations, readings, readingType: Wind Speed AVG(S)10M M1M, readingUnit: knots, paginationToken). Failure: ERROR_PARAMS (e.g. invalid date format).
Workflow exampleExecute getWindSpeed with optional date=2024-07-16 for weather forecasting or maritime applications.

Get Wind Direction

ActiongetWindDirection
PurposeRetrieves real-time or historical wind direction readings across Singapore.
ConfigurationConfigure the base URL via CONNECTOR_ENV_SINGAPOREWEATHER_BASE_URL.
ParametersOptional:
date – SGT date (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS). paginationToken – token for the next page. key – API key (optional, for higher rate limits).
OutputSuccessful: JSON with code, errorMsg, and data (stations, readings, readingType: Wind Dir AVG (S) 10M M1M, readingUnit: degrees, paginationToken). Failure: ERROR_PARAMS (e.g. invalid date format).
Workflow exampleExecute getWindDirection with optional date=2024-07-16T23:59:00 for navigation or weather analysis tools.

Get Rainfall

ActiongetRainfall
PurposeRetrieves real-time or historical rainfall readings across Singapore.
ConfigurationConfigure the base URL via CONNECTOR_ENV_SINGAPOREWEATHER_BASE_URL.
ParametersOptional:
date – SGT date (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS). paginationToken – token for the next page. key – API key (optional, for higher rate limits).
OutputSuccessful: JSON with code, errorMsg, and data (stations, readings, readingType: TB1 Rainfall 5 Minute Total F, readingUnit: mm, paginationToken). Failure: ERROR_PARAMS (e.g. invalid date format).
Workflow exampleExecute getRainfall with optional date=2024-07-16 for flood monitoring or agricultural applications.

Example Workflow: Comprehensive Weather Monitoring

Retrieve air temperatureUse getAirTemperature with optional date=2024-07-16 to display temperature data in a dashboard.
Query relative humidityExecute getRelativeHumidity with optional date to monitor environmental conditions.
Fetch wind and rainfallUse getWindSpeed, getWindDirection, and getRainfall to build a unified weather monitoring application or alert system.
Support

For technical support, contact custom-connectors-support@isolutions.sa.

free consultation

Schedule a Free Consultation With Our Specialists

Book a free demo
request

Begin Your Adventure With Experienced Professionals

Send request
help desk

Do You Have Questions or Want More Information? Call Now.

Contact support