Examples of MarketStatResult


Examples of lv.odylab.evecentralapi.parser.method.marketstat.MarketStatResult

    @Logging
    @Caching(expiration = Caching.TWO_HOURS)
    public List<MarketStatDto> getMarketStatInRegion(Long regionID, Long... typeIDs) throws EveCentralApiException {
        try {
            MarketStatResponse apiResponse = facade.getMarketStatInRegion(regionID, typeIDs);
            MarketStatResult marketStatResult = apiResponse.getMarketStatResult();
            List<MarketStatDto> marketStatDtos = new ArrayList<MarketStatDto>();
            for (MarketStatType marketStatType : marketStatResult.getTypes()) {
                marketStatDtos.add(mapper.map(marketStatType, MarketStatDto.class));
            }
            return marketStatDtos;
        } catch (ApiParserException e) {
            logger.error("Caught ApiParserException", e.getMessage());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.