A third party, non-official douban API gem created by goshan. Inspired by goshan’s sina API gem.

To install the gem simply enter:

gem install gdouban

This is a minimalistic API implementation, where all function calls goes through a single method. For example to publish a feed item one might do the following:

param = {:name => "blahblah"}
douban = Douban::Base.new(token)
douban.call_method("get", "user/param[:name]", param)

the token should be got by yourself

This gem was made in the process of creating 一见关注 [easyfollow.com], please take a moment and go and check out that project for example usage.

Sites using the douban gem

easyFollow easyfollow.com