a simple ruby gem for douban api
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.rdoc
VERSION
gdouban.gemspec
gdouban.yml.example

README.rdoc

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