how to download the wheather data from website using talend

Five Stars

how to download the wheather data from website using talend

please tell me how to download the weather data from any web site using talend component

 

Ten Stars

Re: how to download the wheather data from website using talend

tRestClient if they provide some sort of API / Functions
tHTTPFetch if it is just a download link to a specific file.
If it data only available in HTML (like divs), use tHTTPFetch and scrape it.
Five Stars

Re: how to download the wheather data from website using talend

i dont know how to download the actal download the data and how to work trest component

Ten Stars

Re: how to download the wheather data from website using talend

Looks like you are new to this kind of stuff.
Read the Talend manual and search on this forum on how to use these specific components.
Try it, and if you get any errors, come back and post screenshots of your job flow and the error(s).
That's when this community can help you out... but you have to start and try first...
Seven Stars

Re: how to download the wheather data from website using talend

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).

 

 

Regards

David

Don't forget to give Kudos when an answer is helpful or the solution.
Five Stars

Re: how to download the wheather data from website using talend

sir i want to get the weather data in canada.so what to do and what value to be pass to tHttpRequest

Ten Stars

Re: how to download the wheather data from website using talend

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