skip to navigation
skip to content

Not Logged In

xkcd 2.2

Library to access xkcd.com

Package Documentation

Latest Version: 2.3.1

This is a Python library for accessing and retrieving links to comics from the xkcd webcomic by Randall Munroe. It is NOT endorsed or made by him, it’s an entirely independent project.

It makes use of the JSON interface to Randall’s site to retrieve comic data. One can create comic objects manually using Comic(number), or can use the helper functions provided- getLatestComic(), getRandomComic(), and getComic()- to do this. Once you have a Comic object, you can access data from it using various provided methods.

 
File Type Py Version Uploaded on Size
xkcd-2.2.tar.gz (md5) Source 2014-04-22 2KB
  • Downloads (All Versions):
  • 52 downloads in the last day
  • 376 downloads in the last week
  • 867 downloads in the last month