watchmen/oa_test
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
oa_test: OAuth version 1.0x testing console ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ installation: ~~~~~~~~~~~~~ gem install oa_test command console: ~~~~~~~~~~~~~~~~ syntax: oa_test [--consumer:token/secret] --yauth:login/passwd [--return:body|body_hash|boolean|object] [--host:host] [--api:path] params --host must prefix with "http://" params --api must prefix with "/" Enjoy... Read config: ~/.oa_test PATH: http://www.koprol.com/api/v2/..path.. Your instance object stored in OA|oa|http The response object: http.resp Ex: http.get '/me.json' ree-2010.02 > http.get '/me.json' => "{"user":{...}}" ree-2010.02 > Ruby code: ~~~~~~~~~~ oa = OAuthTest.new( :key => 'consumer_token', :secret => 'consumer_secret' ).yauth( :login => 'y_login', :passwd => 'y_password' ) oa.get('/me.json') ======================== Thanks to: wh,rs,le,rchs ------------------------
About
ruby oauth test
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published