scryfall

Crystal api client for Scryfall a Magic: The Gathering card search tool
0.3.8 Latest release released

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
scryfall:
  github: kalinon/scryfall.cr
  version: ~> 0.3.8
License MIT
Crystal >= 0.36.1, < 2.0.0

Authors

Dependencies 4

  • db
    {'github' => 'crystal-lang/crystal-db'}
  • halite
    {'github' => 'icyleaf/halite'}
  • mtg
    {'github' => 'spoved/mtg.cr'}
  • spoved >= 0.8.0
    {'github' => 'spoved/spoved.cr', 'version' => '>= 0.8.0'}

Development Dependencies 0

Dependents 0

Last synced .
search fire star recently