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.

Getting Started?

Visit http://serel.tom.is for a whirlwind tour of the library.

although it is still very much a tour in progress

About

Serel is Stack Exchange RElational Algebra, a fully featured Ruby library for the Stack Exchange API. With a public API inspired by Arel, the query engine behind Active Record, Serel aims to provide easy and complete access to the Stack Exchange API.

License

MIT License

Download

gem install serel

Alternatively, find Serel on RubyGems. A quick tour and introduction can be found on the Serel site.

Platform

Ruby 1.9+ is required to run Serel.

Contact

Comment me. Or ping me on chat. I'm usually in The Bridge.

Code

You can find the code on GitHub, as well as documentation generated off the master branch on RDoc, even if it is lacklustre in places.

Automatic builds are done with Travis-Ci, and the current build status of master is: Build Status.

Written in Ruby, with test suite assistance from RSpec, Webmock & VCR.

Contributions are more than welcome, since I'm sure I'll have misplaced something somewhere.

Roadmap

  • Native support for caching
  • Identity map to avoid repeat requests

Changelog

10/4/2012 - 1.0.0

  • Better handling of dates.
  • Allow #get to get without overwriting the scoped URL

29/2/2012 - 1.0.0.rcx

  • Release
share|improve this question
add comment

2 Answers

Nice work! I look forward to the day I don't have to install it with --pre! :D

I'm using this library as the backend to a project that you might hear about in the not so distant future. Just have to work out some logistical / hosting / etc. issues.

share|improve this answer
    
that day is now here! –  Kyle Cronin Apr 15 '12 at 21:36
add comment

We (myself and Kyle), with graphical help from Nathan, developed an automatically generated image that pulls in the number of bounties, the total bounty rep value, and displays that in an image.

Current Ask Different bounties

It is part of the Ask Different Community Ads, and we're pretty proud of it.

Thanks for developing Serel, it made the heavy lifting of StackExchange's API insanely simple, and we could focus on the harder parts, like getting RMagick to play nice and actually do what we want it to do (┬──┬ ლ(ಠ益ಠლ) adequately explains how I felt about RMagick... often).

share|improve this answer
add comment

You must log in to answer this question.

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