You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A REST API is a web service or a set of methods that can be used to produce or access data without a web interface.
REST APIs use the http protocol to request data. Parameters are passed through a URL using a predetermined organization.
A REST API has been developed to provide access to the Streamflow Prediction Tool (SPT) forecasts without the need to
access the web app interface. This type of service facilitates integration of the SPT with third party web apps, and
the automation of forecast retrievals using programing languages like Python, or R. The available methods and a
description of how to use them are shown below.
GetForecast for Forecasts Statistics
Parameter
Description
Example
watershed_name
The name of watershed or main area of interest.
Nepal
subbasin_name
The name of the sub basin or sub area.
Central
reach_id
The identifier for the stream reach.
5
forecast_folder
The date of the forecast (YYYYMMDD.HHHH) [*]. (Optional)