Class CardsService
java.lang.Object
org.api.mtgstock.services.AbstractMTGStockService
org.api.mtgstock.services.CardsService
-
Field Summary
Fields inherited from class AbstractMTGStockService
ABBREVIATION, ALL_TIME_HIGH, ALL_TIME_LOW, ARCHETYPE, AVG, BOOSTER, CARD, CARD_SET, CARD_TYPE, client, CMC, COLOR, COST, DATE, DATE_FORMAT, DECKS, FLIP, FOIL, ICON_CLASS, ID, IMAGE, IMAGE_FLIP, INCLUDE_DEFAULT, INTEREST_TYPE, INTERESTS, LAST_WEEK_PRICE, LATEST_PRICE, LATEST_PRICE_CK, LATEST_PRICE_MKM, LATEST_PRICE_MM, LEGAL, logger, LOW, LOWEST_PRINT, MKM_ID, MKM_URL, MOSTPLAYED, MULTIVERSE_ID, NAME, NORMAL, NUM, NUM_PLAYERS, OLD, ORACLE, PAST_PRICE, PERCENTAGE, PLACING, PLAYER, POSITION, PRESENT_PRICE, PREVIOUS_PRICE, PRICE, PRICE_HASH, PRINT, PWRTGH, QUANTITY, RARITY, RESERVED, SET, SET_ID, SET_NAME, SET_TYPE, SETS, SIMILARITY, SUBTYPE, SUM, SUPERTYPE, TCG_ID, TCG_URL, TOTAL, TOURNAMENTTYPE, TYPE, URLModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected URLUtilitiesprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected org.apache.logging.log4j.Loggerprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBestResult(String name) getCard(SearchResult sr) getPrintsBySet(CardSet set) getPrintsBySetCode(String abbresv) getSetByCode(String id) getSetById(int id) getSetByName(String name) listSets()toPrints(List<SearchResult> res) Methods inherited from class AbstractMTGStockService
parseArchetypeFor, parseCardFor, parseDeckCardFor, parseInterestFor, parsePriceHashFor, parsePrintFor, parseSetFor, setListenerModifier and TypeMethodDescriptionprotected ArchetypeparseArchetypeFor(com.google.gson.JsonObject e) protected CardDetailsparseCardFor(com.google.gson.JsonObject o) protected DeckCardparseDeckCardFor(com.google.gson.JsonObject o) parseInterestFor(MTGStockConstants.INTEREST c, com.google.gson.JsonArray interests) protected PriceHashparsePriceHashFor(com.google.gson.JsonObject obj, MTGStockConstants.RARITY r) protected PrintparsePrintFor(com.google.gson.JsonObject obj) protected CardSetparseSetFor(com.google.gson.JsonObject o) voidsetListener(URLCallListener listener)
-
Constructor Details
-
CardsService
public CardsService()
-
-
Method Details
-
getBestResult
-
search
-
toPrints
-
toPrints
-
getCard
- Throws:
IOException
-
getCard
- Throws:
IOException
-
getCard
- Throws:
IOException
-
listSets
-
getSetByName
-
getSetByCode
-
getSetById
-
getPrintsBySet
-
getPrintsBySetCode
-
getSealedProduct
-
getSealedProduct
-
getCard
- Throws:
IOException
-