Pulling Data from API URL

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
cyclogenisis
Premium Member
Premium Member
Posts: 48
Joined: Wed Jan 07, 2015 3:30 pm

Pulling Data from API URL

Post by cyclogenisis »

Hi All,

Hoping someone may be able to assist me. I'm trying to determine whether Datastage has a straight forward way of pulling data from an API URL. For example, Coremetrics/IBM Data Analytics has reports you can put in place which you can access data by using an API URL. Is it possible to pull this data from API directly into Datastage with defining structure?
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

If that "API" uses REST protocol, and returning xml or json, then, yes.....you should be able to use the hierarchical Stage, which supports REST based web services.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
cyclogenisis
Premium Member
Premium Member
Posts: 48
Joined: Wed Jan 07, 2015 3:30 pm

Post by cyclogenisis »

Hi actually using DS 9.1 which doesn't have this stage. Is there a way in v9.1?
cyclogenisis
Premium Member
Premium Member
Posts: 48
Joined: Wed Jan 07, 2015 3:30 pm

Post by cyclogenisis »

In case anyone at some point views this thread for an answer. I ended up using the curl shell command to pull data and save it to disk. Then process the file from there since the stage in question is not available in 9.1.
Post Reply