Installation

# Add this to your shard.yml
dependencies:
  scryfall:
    github: kalinon/scryfall.cr
    version: ~> 0.4.1

Then run:

shards install

shard.yml

Crystal
>= 0.36.1, < 2.0.0
License
MIT
Author
Holden Omans

Dependencies

Runtime Dependencies

  • mtg*github: spoved/mtg.cr
  • toshi*github: spoved/toshi.cr

README

scryfall.cr

A Crystal api wrapper for https://scryfall.com

Installation

Add this to your application's shard.yml:

dependencies:
  scryfall:
    github: kalinon/scryfall.cr

Usage

require "scryfall"

uuid = UUID.new("af8b9c79-a161-4d7d-944d-82a44a5f2ab9")

Scryfall::Api.fetch_card(uuid)

Contributing

  1. Fork it (https://github.com/kalinon/scryfall.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • kalinon Holden Omans - creator, maintainer