Quantcast
Channel: Ruby Client Library - Stack Apps
Viewing all articles
Browse latest Browse all 2

Ruby Client Library

$
0
0

I've started a Ruby client library project on GitHub. There's no code there, but I will be hacking on it all weekend and welcome contributions.

Sample Code

client = StackOverflow::Client.new(version, apiKey, urlClient, protocol)client.questions.recent.each do |q| ...endclient.users.find(1190)# => <StackOverflow::User name='James A. Rosen'>

(Syntax is not yet finalized, but this should provide the right idea.)

About

The project will use RSpec for testing and either Rack-Client or HTTParty for API calls. It will try to use Arel-like syntax for querying.

License

SOFlow is released under the MIT license

Download

You will be able to install soflow as a ruby gem with gem install soflow, or download the source from the git repository.

Platform

SOFlow is being developed primarily on Ruby 1.9 (MRI), but cross-ruby compatibility is a goal.

Contact

Bugs and feature requests should be made as issues on the above repository.

Code

Code is available at the repository listed above.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images