Mar
30
2009
.net C# API to Magento via XML-RPC
Since I’m starting to get back to writing .Net C# again, I decided to dig around for anything Magento related and found a nice XML-RPC based library, that will allow you to utilize Magento’s API. Samples are provided and seem to be pretty straight forward, however they do note a lot of the returns even though stated as an integer or such, but tend to most always return a string. Which leads me to believe its something with the XML-RPC in between the two, and PHP’s love to turn most any type into a string. Here is one of the examples to get your gears turning:
1 2 3 4 | #region Product Image Examples //// gets the product image current store view (doc says int returned, but is string) string myProductImageCurrentStore = ProductImage.CurrentStore(apiUrl, sessionId, new object[] { }); Console.WriteLine(myProductImageCurrentStore); |
You can find the full API here, along with some notes:
.NET C# Object Library for Magento
Direct download link to the API:
Ez.Newsletter.MagentoApi_v1.0.zip
Possibly Related Posts:
- Magento Commerce Error Reporting Tip
- Eclipse + ZendStudio + ZendServer + Android SDK = Awesome IDE
- Magento: Paypal Standard IPN Double Totals Bug 1.3.2.3 + fix
- iPhone Magento theme compatible with Android
- Magento Tutorial Video: Display Product Images in Blocks and Pages












