Project

cdb-crawlr

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
cdb-crawlr is a Ruby gem and command-line tool for querying ComicBookDB.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

⚠️ ComicBookDB.com has shut down. This gem is no longer functional or maintained. ⚠️

cdb-crawlr

Ruby gem and command-line tool for querying ComicBookDB.com

Installation

https://rubygems.org/gems/cdb-crawlr

gem install cdb-crawlr

Examples

Series Search:
irb > CDB::Series.search('Walking Dead')
=> [<struct CDB::Series cdb_id=457, name="The Walking Dead", publisher="Image Comics", start_date="2003">,
    <struct CDB::Series cdb_id=21275, name="Dead Man Walking", publisher="Boneyard Press", start_date="1992">,
    <struct CDB::Series ...]
bash$ cdb search series Walking Dead
{ "cdb_id": 457, "name": "The Walking Dead", "publisher": "Image Comics", "start_date": "2003" }
{ "cdb_id": 21275, "name": "Dead Man Walking", "publisher": "Boneyard Press", "start_date": "1992" }
...
Series Display:
irb > CDB::Series.show(457) # cdb_id from search
=> <struct CDB::Series
    cdb_id=457,
    name="The Walking Dead",
    publisher="Image Comics",
    imprint="Skybound Entertainment",
    start_date="October 2003",
    end_date="Ongoing",
    issues=
      [<struct CDB::Issue
        cdb_id=257301,
        num="102",
        name="Something to Fear Part Six",
        story_arc="Something to Fear",
        cover_date="September 2012">,
      <struct CDB::Issue ...],
    country="United States",
    language="English">
bash$ cdb show series 457
{
  "cdb_id": 457,
  "name": "The Walking Dead",
  "publisher": "Image Comics",
  "imprint": "Skybound Entertainment",
  "start_date": "October 2003",
  "end_date": "Ongoing",
  "issues": [
    {
      "cdb_id": 257301,
      "num": "102",
      "name": "Something to Fear Part Six",
      "story_arc": "Something to Fear",
      "cover_date": "September 2012"
    }, ...
  ],
  "country": "United States",
  "language": "English"
}
Issue Search:
irb > CDB::Issue.search('Deadpool')
=> [<struct CDB::Issue cdb_id=14581, series="Wolverine (1988)", num="88", name="It's D-D-Deadpool, Folks!">,
    <struct CDB::Issue cdb_id=60919, series="Ultimate Spider-Man (2000)", num="TPB vol. 16", name="Deadpool">,
    <struct CDB::Issue ...]
bash$ cdb search issue Deadpool
{ "cdb_id": 14581, "series": "Wolverine (1988)", "num": "88", "name": "It's D-D-Deadpool, Folks!" }
{ "cdb_id": 60919, "series": "Ultimate Spider-Man (2000)", "num": "TPB vol. 16", "name": "Deadpool" }
...