Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby client to Quora API alpha version
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE.LGPLv3
README.md
Rakefile
quora-client.gemspec

README.md

Introduction

Quora client enables the communication with Quora API via REST interface.

Actually there's no API security mechanism so interaction with API is based on authentication cookie. You can provide either a valid cookie or a valid pair user - password.

If you want to get the cookie value, you can use a local proxy, sniffer, etc to get the correct value, that should be something similar to:

"m-b=; m-f=; m-s=; ..."

Install

Just install the gem:

gem install quora-client

How to use Quora Client

require 'rubygems'

require 'quora-client'

cookie =""

client = Quora::Client.new(cookie)

or...

client = Quora::Client.new({:user => "", :password => ""})

user_data = client.get_all

Support methods

Currently Quora supported fields include inbox, followers, following and notifs. Each field has an associated method in the client:

client.get_inbox

client.get_followers

client.get_following

client.get_notifs

Something went wrong with that request. Please try again.