🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

magiccardmarketeu

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magiccardmarketeu

Fetch the card details from one card from http://magiccardmarket.eu

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

magiccardmarketeu

Fetch card details from http://magiccardmarket.eu.

It only takes Singles cards. If the card is in different sets, it will load it from all sets.

npm install magiccardmarketeu --save

Usage

var magiccardmarketeu = require('magiccardmarketeu')

magiccardmarketeu('Birds of Paradise', function (err, card) {
  console.log(card)
  /*
    {
      "fourth edition: alternate": {
        "image": "https://www.magiccardmarket.eu/img/9d477b691cc90a71867c0b63cdc8fb22/cards/Fourth_Edition_Alternate/birds_of_paradise.jpg",
        "rarity": "rare",
        "available": 2,
        "set": "fourth edition: alternate",
        "rulesText": "Flying\n\n{T}: Add one mana of any color to your mana pool.",
        "price": {
          "from": "69,95 €",
          "trend": "75,00 €"
        },
        "sellers": [
          {
            "name": "Raphygames",
            "link": "https://www.magiccardmarket.eu/Users/Raphygames",
            "itemLocation": "france",
            "language": "english",
            "condition": "played",
            "comment": "",
            "price": {
              "value": 55,
              "currency": "€"
            },
            "available": {
              "count": 1,
              "parenthesis": 3
            },
            "tags": [
              "Outstanding seller"
            ],
            "score": "648"
          },
          ...
        }
      },
      "fourth edition: black bordered": { ... },
      ...
    }
  /*
})

License

MIT

FAQs

Package last updated on 29 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts