Access the Infochimps Query API via commandline

A tutorial on how to use chimps to access the Infochimps Query API via commandline.

  1. Sign up for the API
  2. When you get your API key, create your chimps dotfile: sudo nano ~/.chimps
  3. Put this in your dotfile:
          :username: your_api_name
          :key:      you_api_key
  4. Install chimps: sudo gem install chimps. (make sure you have gemcutter as a source otherwise it won’t find the gem: gem sources -a
  5. Run a query! % chimps query soc/net/tw/influence screen_name=infochimps

It should return with something like this:


That’s it!

Comments are closed.