Project

gatherer

0.01
No commit activity in last 3 years
No release in over 3 years
Gatherer is a gem to scrape Magic: The Gathering cards.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.9.0
~> 1.5.5
 Project Readme
  .,-:::::/   :::. :::::::::::: ::   .: .,:::::: :::::::..  .,:::::: :::::::..   
,;;-'````'    ;;`;;;;;;;;;;'''',;;   ;;,;;;;'''' ;;;;``;;;; ;;;;'''' ;;;;``;;;;  
[[[   [[[[[[/,[[ '[[,   [[    ,[[[,,,[[[ [[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.