Introduction

 

AfriGIS Weather is a group of APIs that expose the South African Weather Service (SAWS) data feeds as Application Programming Interface (API). The APIs include forecast, lightning, and storms.

Weather Components include:

Forecast

API Name: weather-forecast

The forecast API retrieves a variety of weather forecast predictions, for both daily and intra-day (6 hourly) periods, for a given location.  Basic, extended, astronomical and tidal information can be returned.

10-Day Forecast

API Name: weather-10-day-forecast

The 10-day forecast API retrieves a limited set of weather forecast predictions for a given location.

Lightning

API Name: weather-lightning

Instantaneous (less than 30 seconds) lightning data is provided as a feed for a given location by this API. Historical lightning data with additional detail is also returned by the lightning API.

Storms

API Name: weather-storms

Predicted (current to one hour into the future) and historical storm data at a given location is returned by the storms API.

Warnings

API Name: weather-warnings

The South African Weather Service (SAWS) issues warnings of severe weather occurrences that could potentially affect the South African population, property or livestock. Warnings can be issued for conditions set to occur between 1 to 5 days in advance.

Authentication

This API makes use of OAuth2 authentication. To integrate, sign up for a free trial account by contacting [email protected]

For detailed integration instructions using OAuth2, please click on the following link: https://developers.afrigis.co.za/oauth2-authentication/