Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update card.ts to include regulationMark #39

Open
wants to merge 1 commit into
base: v2.0.0
Choose a base branch
from

Conversation

ajanick3
Copy link

regulationMark was once included on the Card model and is still returned from the API

For example:

{
  "id": "sv8-250",
  "name": "Gravity Mountain",
  "supertype": "Trainer",
  "subtypes": ["Stadium"],
  "rules": [
    "Each Stage 2 Pokémon in play (both yours and your opponent's) gets -30 HP.",
    "You may play only 1 Stadium card during your turn. Put it into the Active Spot, and discard it if another Stadium comes into play. A Stadium with the same name can't be played."
  ],
  "set": {
    "id": "sv8",
    "name": "Surging Sparks",
    "series": "Scarlet & Violet",
    "printedTotal": 191,
    "total": 252,
    "legalities": {
      "unlimited": "Legal",
      "standard": "Legal",
      "expanded": "Legal"
    },
    "ptcgoCode": "SSP",
    "releaseDate": "2024/11/08",
    "updatedAt": "2024/11/07 22:00:00",
    "images": {
      "symbol": "https://images.pokemontcg.io/sv8/symbol.png",
      "logo": "https://images.pokemontcg.io/sv8/logo.png"
    }
  },
  "number": "250",
  "rarity": "Hyper Rare",
  "legalities": {
    "unlimited": "Legal",
    "standard": "Legal",
    "expanded": "Legal"
  },
  "regulationMark": "H",
  "images": {
    "small": "https://images.pokemontcg.io/sv8/250.png",
    "large": "https://images.pokemontcg.io/sv8/250_hires.png"
  },
  "tcgplayer": {
    "url": "https://prices.pokemontcg.io/tcgplayer/sv8-250",
    "updatedAt": "2024/12/19",
    "prices": {
      "holofoil": {
        "low": 11,
        "mid": 13.49,
        "high": 27,
        "market": 12.31,
        "directLow": null
      }
    }
  },
  "cardmarket": {
    "url": "https://prices.pokemontcg.io/cardmarket/sv8-250",
    "updatedAt": "2024/12/19",
    "prices": {
      "averageSellPrice": 12.82,
      "lowPrice": 10.5,
      "trendPrice": 13.18,
      "germanProLow": 0,
      "suggestedPrice": 0,
      "reverseHoloSell": 0,
      "reverseHoloLow": 0,
      "reverseHoloTrend": 0,
      "lowPriceExPlus": 10.5,
      "avg1": 13.46,
      "avg7": 12.77,
      "avg30": 12.75,
      "reverseHoloAvg1": 0,
      "reverseHoloAvg7": 0,
      "reverseHoloAvg30": 0
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant