Package lv.odylab.evemetricsapi.parser.method.itemprice

Examples of lv.odylab.evemetricsapi.parser.method.itemprice.ItemPriceResponse


    @Override
    @Logging
    @Caching(expiration = Caching.TWO_HOURS)
    public List<ItemPriceDto> getItemPrice(Long regionID, Long... typeIDs) throws EveMetricsApiException {
        try {
            ItemPriceResponse apiResponse = facade.getItemPriceInRegion(eveMetricsDeveloperKey, regionID, typeIDs);
            List<ItemPriceDto> itemPriceDtos = new ArrayList<ItemPriceDto>();
            for (ItemPriceType itemPriceType : apiResponse.getTypes()) {
                itemPriceDtos.add(mapper.map(itemPriceType, ItemPriceDto.class));
            }
            return itemPriceDtos;
        } catch (ApiParserException e) {
            logger.error("Caught ApiParserException", e.getMessage());
View Full Code Here

TOP

Related Classes of lv.odylab.evemetricsapi.parser.method.itemprice.ItemPriceResponse

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.