Last Updated: May 03, 2017
·
1.749K
· javier_toledo

Using Magento SOAPv2 API from Ruby

While we were developing Meets.io, one thing we had to do a ton of times was testing how Magento SOAP API behaves with some sample data and we found in Ruby and Savon a very neat tool for testing before implementing the real thing.

I've posted a Gist with sample code to get a product from Magento SOAP API. Savon is a really powerful tool, it handles the parsing for us and returns the data in a handy Hash.

https://gist.github.com/javiertoledo/9830943

In fact, since we have written a good amount of snippets like this one we're wondering if it could be useful to build a wrapper and port Meets to Ruby, what do you think?