Package com.salas.bb.utils.amazon

Examples of com.salas.bb.utils.amazon.AmazonGateway


        Channel channel = null;

        String subscriptionId = ResourceUtils.getString("amazon.subscription");
        String partnerId = ResourceUtils.getString("amazon.partner");

        AmazonGateway gateway = new AmazonGateway(subscriptionId, partnerId);
        try
        {
            String parameter = queryFeed.getParameter();
            List<AmazonItem> items = gateway.itemsSearch(parameter, AmazonSearchIndex.Books, "daterank",
                queryFeed.getPurgeLimitCombined());

            channel = itemsToChannel(items.toArray(new AmazonItem[items.size()]), parameter);
        } catch (AmazonException e)
        {
View Full Code Here

TOP

Related Classes of com.salas.bb.utils.amazon.AmazonGateway

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.