Sign up ×
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 for a whirlwind tour of the library.

although it is still very much a tour in progress


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.


MIT License


gem install serel

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


Ruby 1.9+ is required to run Serel.


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


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.


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


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

2 Answers 2

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

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

You must log in to answer this question.

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