What is WeatherAPI? 


WeatherAPI is an online service owned by WeatherAPI that provides global weather data via API, including current weather data, forecasts, and historical weather data for any geographical location. The company offers a minute-by-minute hyperlocal precipitation forecast for any location.  

One Call allows users to receive access to the various data for a specific location and includes: 

Weather API provides an API with JSON, XML, and HTML endpoints and a limited free usage tier.  

To use this current weather data API, one must need the API key which can be obtained once the user creates an account on https://www.weatherapi.com  

Read Weather API Documentation to understanding about different parameters and capabilities. 

Setup WeatherAPI on http://weatherapi.com  

Picture3-20240215-063627.png

Step 1: Getting the Weather API Key 

To get the API key, we need to register with WeatherAPI. After signing up, it will redirect us to the profile settings. 

 

Setup Named Credentials on Salesforce 

Picture2-20240215-063457.png

Step 2: Create an External Credential 

Step 3: Define Principals and Custom Headers 

 

Picture6-20240215-063702.png

 Step 4: Setup Named Credentials 

Picture5-20240215-063655.png

Start Building On noKodr app 

Picture1-20240215-063412.png

Step 5: Create Model In noKodr and start building 

 

Picture4-20240215-063645.png

Now we are good to start building applications…