У нас вы можете посмотреть бесплатно PART 2 || BTP CPI PROJECT – Using the coordinates, fetches current weather|| IN HINDI || BY ABHISHEK или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
BTP CPI PROJECT – Fetch Weather Information & Send via Email In this SAP BTP Cloud Integration (CPI) project, we demonstrate a real-time API integration scenario using OpenWeatherMap APIs. The iFlow fetches the current weather of any city and sends the information via email. I EXPLAIN ONLY THIRD CASE IN THIS VIDEO, ELSE WILL BE IN UPCOMING VIDEO. Scenario Overview: Case 1: Client sends a city name via HTTPS request. { "cities": { "city": "delhi" } } NOTE - USE ABOVE JSON IN POSTMAN ONLY Case 2: CPI iFlow fetches Geo Coordinates (latitude & longitude) from OpenWeatherMap Geocoding API. Case 3: Using the coordinates, the iFlow fetches current weather information from OpenWeatherMap Weather API. Case 4: Returns formatted JSON to the client: { "City": "Delhi", "Temperature": "19.06 °C", "Weather": "smoke", "Humidity": "63 %", "WindSpeed": "2.06 m/s" } Case 5: Sends the weather information directly via email using the Mail Adapter in CPI. Bonus: An Exception Subprocess is implemented to handle errors gracefully and return a structured error JSON if anything goes wrong (e.g., invalid city, API failure). This project demonstrates: Real-time API integration in SAP BTP CPI Groovy scripts for JSON parsing and formatting Exception handling using Exception Subprocess Sending notifications via email #SAPCPI #BTP #CloudIntegration #OpenWeatherMap #APIIntegration #GroovyScript #ExceptionHandling #RealTimeIntegration #WeatherAPI #EmailNotification #SAPIntegration #iFlow