.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
.net C# API to Magento via XML-RPC
Direct download link to the API:
Ez.Newsletter.MagentoApi_v1.1.zip
Possibly Related Posts:
- Getting Started with Magento
- Magento vs X-Cart
- Magento version 2.0 (X.Commerce) and eBay
- Magento Supercharged Development Tools and Links
- Book Review: Magento 1.4 Themes Design by PacktLib
30Mar2009
15 Responses to .net C# API to Magento via XML-RPC Add your comment
Leave a Reply
You must be logged in to post a comment.









This is my first time comment at your blog.
Good recommended website.
J have problem to start working with it, can you write where how to run this extension.
I like this blog ,very nice!
Thank you for posting…
Good coding guide.Some times the coding becomes very difficult to understand and fine the solution.This type of topics help to make us clear.
Nice blog. Thanks for sharing..
Your posting is too helpful for us. Good wishes to you.
Some times the coding becomes very difficult to understand and fine the solution.
very nice!
Good coding guide.Some times the coding becomes very difficult to understand and fine the solution.
Hello, nnI am unable to download the first link, it gives an error on opening. and for the 2nd link, can someone help me in starting this code?
you have a great blog here! would you like to make some invite posts on my blog?
you have a great blog here! would you like to make some invite posts on my blog?
nice blog keep posting
Hi,
I am getting session expired, try to relogin error when i am calling the api on live server with our code. But same code working on local setup as well as the .net server with a sample project. Can any one facing same issue ?? Magento version that i have is Magento 1.6.1.0.
Thanks & Regards,