[Download] | [Documentation Home] | [Release Note]
WSO2 Data Services Server supports to scrape web information and extract web information as a service. This sample will use Yahoo Weather Forecasts to extract weather information.
The sample data service "WebResourceSample" should be deployed as per the instructions mentioned in Deploying Samples section.
The sample service can be run using the "tryit" tool, which is bundled with WSO2 Data Services Server, or a code-generated java client sample using this service.
The web resource extracts weather information from Yahoo Weather Forecasts
The WebResource sample service contains a single operation named "getWheatherInfo" which returns Temperature of regions.