Wrapper for the xkcd.com API
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
spec
.gitignore
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE.md
README.md
Rakefile
xkcd.gemspec

README.md

Xkcd

Ruby wrapper for the xkcd API

Usage

Deadly simple:

Xkcd[1000] # Get comic by id

Xkcd.latest # Get the latest comic - orly?

Xkcd.random # Get a random comic

Groovy, huh?

TODO

  • Wrap explainxkcd.com wiki(?)