Skip to content

Embeddable web component for displaying up to 75 unique magic cards on any site. Powered by the scryfall API.

Notifications You must be signed in to change notification settings

berpel/pack-cracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pack-cracker

Usage

Preview

Embed up to 75 unique cards into any site.

<script src="https://rawcdn.githack.com/berpel/pack-cracker/3e65fb044dd904bce0d12e74122d14c899f8f39c/dist/js/pack-cracker.js"></script>
<pack-cracker cards='["m21|318","m21|316","m21|314|2","m21|319","m21|280","m21|48||foil","m21|104","m21|76","m21|38","m21|197","m21|239","m21|254","m21|139","m21|48","m21|164|2","m21|6","m21|143","m21|179","m21|228","m21|7","m21|183","m21|305","m21|108","m21|114","m21|103","m21|1","m21|276"]'></pack-cracker>

Options

set|collection_number|<quantity>|<extras>

If no quantity is specified it defaults to one.

If extras includes the word foil the foil price will be displayed.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.

About

Embeddable web component for displaying up to 75 unique magic cards on any site. Powered by the scryfall API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published