Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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|
 ...
end

client.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.

share|improve this question
    
Was just thinking about doing a notifier using ruby, so I'm looking forward to this. I'm relatively new to ruby, but I'll contribute if I can once you have some stuff in place. –  Herms May 21 '10 at 15:38
    
Anything ever come of this? –  Dan McClain Jun 21 '10 at 11:05

1 Answer 1

You might also want to use Hashie. One of the best twitter clients for ruby uses it, and the resulting interface is very clean and easy to use. I've wrapped over Delicious rss api with it in less than 60 lines.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .