0.0
No commit activity in last 3 years
No release in over 3 years
This GEM provides an easy way to access Quora Alpha API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 2.1.0

Runtime

>= 1.4.3
 Project Readme

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 ="<valid_value>"

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