Class CardsService

java.lang.Object
org.api.mtgstock.services.AbstractMTGStockService
org.api.mtgstock.services.CardsService

public class CardsService
extends AbstractMTGStockService
  • Constructor Details

    • CardsService

      public CardsService()
  • Method Details

    • getBestResult

      public SearchResult getBestResult​(java.lang.String name)
    • search

      public java.util.List<SearchResult> search​(java.lang.String name)
    • toPrints

      public java.util.List<FullPrint> toPrints​(java.util.List<SearchResult> res)
    • toPrints

      public java.util.List<FullPrint> toPrints​(java.lang.Integer... ids)
    • getCard

      public FullPrint getCard​(Interest sr) throws java.io.IOException
      Throws:
      java.io.IOException
    • getCard

      public FullPrint getCard​(SearchResult sr) throws java.io.IOException
      Throws:
      java.io.IOException
    • getCard

      public FullPrint getCard​(Print p) throws java.io.IOException
      Throws:
      java.io.IOException
    • listSets

      public java.util.List<CardSet> listSets()
    • getSetByCode

      public CardSet getSetByCode​(java.lang.String id)
    • getSetById

      public CardSet getSetById​(int id)
    • getPrintsBySet

      public java.util.List<Print> getPrintsBySet​(CardSet set)
    • getPrintsBySetCode

      public java.util.List<Print> getPrintsBySetCode​(java.lang.String abbresv)
    • getPrintsBySetId

      public java.util.List<Print> getPrintsBySetId​(java.lang.Integer id)
    • getCard

      public FullPrint getCard​(java.lang.Integer id) throws java.io.IOException
      Throws:
      java.io.IOException