gotascii / crags

Search across multiple craigslist locations

This URL has Read+Write access

Justin Marney (author)
Tue Oct 13 09:39:10 -0700 2009
commit  cdab9b1775416915dadb9df9a5ab01413e1ce26f
tree    b31ec6b34d654e65783b02b61659f72242a44bbe
parent  9781f738138818fe11e59a9ac3dc1414da34d529
crags /
name age message
file .gitignore Fri Feb 06 04:52:12 -0800 2009 no DS_Store [Justin Marney]
file LICENSE Tue Oct 13 09:19:08 -0700 2009 migrated to jeweler/gemcutter [Justin Marney]
file README.rdoc Tue Oct 13 09:34:07 -0700 2009 readme tweak [Justin Marney]
file Rakefile Tue Oct 13 09:39:10 -0700 2009 added summary [Justin Marney]
file VERSION Tue Oct 13 09:19:08 -0700 2009 migrated to jeweler/gemcutter [Justin Marney]
file crags.gemspec Tue Oct 13 09:39:10 -0700 2009 added summary [Justin Marney]
directory lib/ Tue Oct 13 09:19:08 -0700 2009 migrated to jeweler/gemcutter [Justin Marney]
directory test/ Fri Sep 04 13:14:31 -0700 2009 switched all requests to follow redirects [Justin Marney]
README.rdoc

crags

A library to help search across multiple craigslist locations.

Usage

searches all available craigslist sites for a keyword in "for sale".

 search(keyword)

search also takes a category

 search(keyword, 'sss')

There are a bunch of helpful api methods, check the tests for more info.

Requirements

  • hpricot
  • curb

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2009 Justin Marney. See LICENSE for details.