1.2.3 • Published 7 years ago

mtgapikapa v1.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Please, if you're wanting something that works, go to https://www.npmjs.com/package/mtgsdk. It's a much more robust module made by someone much better than me. This one doesn't even work. Kek.

Hello, I'm Tylah Kapa!

You can find me on Twitter @JadeKapa or on my website, tylahkapa.squarespace.com

This is a small Magic the Gathering API I created. Unfortunately this is just a test project, and most definitely does not hold all cards in the game.

Cards are objects held within a JSON file, and hold the information: Artist, Description, FlavourText, ImgURL, ManaCost, Name, Rarity and Type.

It's relatively simple, but it is a learning procedure after all!

Right now, you are able to execute the functions:

CardCount(), which will return the number of cards in the database.

RandomCard(), which will return a random card from the database.

FindCard(cardName), which will search the database for the name of the card you've specified.

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.6

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago