Skip to content

thejonanshow/gatherer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
  .,-:::::/   :::. :::::::::::: ::   .: .,:::::: :::::::..  .,:::::: :::::::..   
,;;-'````'    ;;`;;;;;;;;;;'''',;;   ;;,;;;;'''' ;;;;``;;;; ;;;;'''' ;;;;``;;;;  
[[[   [[[[[[/,[[ '[[,   [[    ,[[[,,,[[[ [[cccc   [[[,/[[['  [[cccc   [[[,/[[['  
"$$c.    "$$c$$$cc$$$c  $$    "$$$"""$$$ $$""""   $$$$$$c    $$""""   $$$$$$c    
 `Y8bo,,,o88o888   888, 88,    888   "88o888oo,__ 888b "88bo,888oo,__ 888b "88bo,
   `'YMUP"YMMYMM   ""`  MMM    MMM    YMM""""YUMMMMMMM   "W" """"YUMMMMMMM   "W" 

Gatherer: The Magicking

Gatherer is a gem to scrape Magic: The Gathering card data from gatherer.wizards.com.

To grab a card you'll need the Multiverse ID; these IDs uniquely identify cards within gatherer.

client = Gatherer::Client.new
client.fetch_by_multiverse_id(111)

The fetch will give you a complete Gatherer::Card with any data that could be scraped from gatherer. If you use a non-existent Multiverse ID you will get a Gatherer::CardNotFound error.

If you have any questions or you'd like this gem to do something else feel free to contact me.

About

Gatherer: The Magicking scrapes Magic: The Gathering card data from http://gatherer.wizards.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages