Skip to content

juandebravo/quora-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Ruby client to Quora API alpha version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages