Actions24
- FIPE – Preço
- CEP (v1)
- CEP (v2)
- DDD → UF & cidades
- Banco por Código
- Câmbio – Cotação
- CNPJ
- Corretora por CNPJ
- Registro.br – Domínio
- Taxa por Sigla
- Feriados por Ano
- FIPE – Marcas
- FIPE – Veículos por Marca
- IBGE – UF por Código
- IBGE – Municípios
- NCM – Lista
- NCM por Código
- ISBN
- CPTEC – Buscar Cidade
- CPTEC – Clima Aeroporto
- CPTEC – Previsão 1 dia
- CPTEC – Previsão N dias
- CPTEC – Ondas 1 dia
- CPTEC – Ondas N dias
Overview
This node integrates with BrasilAPI, a public API providing various Brazilian data endpoints. Specifically, for the "CPTEC – Clima Aeroporto" operation, it fetches weather information related to airports identified by their ICAO codes. This is useful for workflows that require up-to-date meteorological data at specific airport locations in Brazil.
Common scenarios include:
- Aviation-related automation needing current weather conditions at airports.
- Travel or logistics applications requiring climate data for flight planning.
- Environmental monitoring systems focusing on airport areas.
Example: Given an ICAO code like "SBGR" (São Paulo/Guarulhos International Airport), the node retrieves detailed weather data for that airport.
Properties
| Name | Meaning |
|---|---|
| ICAO | The ICAO code of the airport to query. Example: "SBGR". |
Output
The node outputs JSON data containing the weather information for the specified airport. The structure corresponds to the response from the BrasilAPI CPTEC endpoint for airport weather and typically includes fields such as temperature, humidity, wind speed, weather conditions, and timestamps.
No binary data output is produced by this operation.
Dependencies
- Requires internet access to call the BrasilAPI public endpoints.
- No authentication or API keys are needed since BrasilAPI is publicly accessible.
- The node uses HTTP GET requests with a timeout of 10 seconds per request.
Troubleshooting
- Timeouts or slow responses: The node sets a 10-second timeout; if the API is slow or unreachable, requests may fail. Check network connectivity or try again later.
- Invalid ICAO code errors: If the provided ICAO code does not correspond to a known airport, the API may return an error or empty data. Verify the ICAO code correctness.
- Unsupported operation error: This node only supports predefined operations. Ensure the operation parameter is set to "cptecClimaAeroporto" when using this functionality.
- Unexpected API changes: Since the node relies on an external public API, any changes or downtime on BrasilAPI can affect results.
Links and References
- BrasilAPI official site: https://brasilapi.com.br/
- CPTEC (Brazilian Center for Weather Forecasting and Climate Studies): https://portal.cptec.inpe.br/
- BrasilAPI CPTEC documentation (general): https://brasilapi.com.br/docs#tag/CPTEC