Is there a (C#) library that will create feeds for Amazon Marketplace Web Services?
        Posted  
        
            by Josh Kodroff
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Josh Kodroff
        
        
        
        Published on 2010-04-22T21:28:56Z
        Indexed on 
            2010/04/22
            21:33 UTC
        
        
        Read the original article
        Hit count: 162
        
Does anyone know of a library out there (preferably in C#) that will take classes and generate XML or flat files suitable for feeds to Amazon Marketplace Web Services?
In other words, I'd like to do something like this:
        var feed = new AmazonProductFeed();
        var list = new AmazonProductList();
        var product1 = new AmazonProduct();
        product1.Name = "Product 1";
        list.Add(product1);
        var product2 = new AmazonProduct();
        product2.Name = "Product 2";
        list.Add(product2);
        feed.Products = list;
        // spits out XML compliant with Amazon's schema
        Console.Write(feed.ToXml());
It looks like the only code Amazon provides are wrappers for the web service itself and the directory-based transport utility (AMTU).
© Stack Overflow or respective owner