I have a data provider that provides a web-based RESTful interface. I'm trying to get that data into Matlab. The interface is relatively simple, but I'm still looking for anyone out there that has any experience with this? The service does not natively provide SOAP/WSDL, which Matlab can use easily. The vendor has an "adapter" that that you can install on a machine (basically an Appache/Tomcat installation with a sort of "plugin") to act as an intermediary that DOES provide those services, but for lots of reasons, it would be very difficult to get set up in my company.
If the RESTful interface returns JSON, it looks like it's as easy as installing a little plugin:
http://www.mathworks.com/matlabcentral/fileexchange/20565
and ((almost) direct from the readme of that plugin):
google_search = 'http://ajax.googleapis.com/....';
matlab_results = parse_json(urlread(google_search));
I guess that's a nice thing about RESTful interfaces over SOAP or whatever is that you don't need excessive machinery to deal with it. I'm sure if the interface isn't returning JSON it will be something similar you can parse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With