Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
please tell me how to download the weather data from any web site using talend component
i dont know how to download the actal download the data and how to work trest component
You will need to use a weather API service like Weather API with tHttpRequest. You'll need to create a free account and get an API key to pass in along with details of what location you want the weather for and return format (XML or JSON).
sir i want to get the weather data in canada.so what to do and what value to be pass to tHttpRequest
http://climate.weather.gc.ca do some research on how to retrieve data first. Understanding of the api... Try by yourself.
Talend is well documented so with basic knowledge you should be able to accomplish.
The url and the vars you need to set to retrieve data... and set with tHTTP, suggest using tRestClient to build up the entire url.
http://climate.weather.gc.ca/climate_data/hourly_data_e.html
The query , whitch is urlencoded (like %), this part start with a '?'
?hlyRange=2015-01-15%7C2018-05-27&dlyRange=%7C&mlyRange=%7C&StationID=53318&Prov=MB&urlExtension=_e.html&searchType=stnProv&optLimit=yearRange&StartYear=2017&EndYear=2018&selRowPerPage=100&Line=100&Month=5&Day=27&lstProvince=&timeframe=1&Year=2018