Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Hot answers tagged

4

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


2

Rubyoverflow dev here, I've been rewriting it recently. I'm actually going to be redoing it again now, seeing that the 2.0 beta is out.


2

From this link: Gzip and deflate compression in curb http driver You can set curl.encoding = '' to make curb auto decompress response body. Like below: url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext" curl = Curl::Easy.new(url_so) # enables both deflate and gzip compression of responses curl.encoding = '' curl.perform


1

I don't know about that Ruby/Gem, but your app registration is not correct. You need to configure your app for explicit OAuth2, per this other answer, except enter localhost instead of example.com. (The localhost is based on the original version of the question. If you have a registered domain, use that.) Then, in your ruby code: config.omniauth: ...


1

You would use the inname parameter of the users path. For example this gets users with marcamillion in their name, on Stack Overflow. Note that the filter parameter controls what fields are returned, not the content of those fields. I don't use Serel (or much Ruby), but the syntax is probably: Serel::User.inname('marcamillion').get Or, with some more ...


1

Although I don't use Ruby (and consequently have not used the two libraries you've mentioned), I'm going to guess that the problem is that you aren't specifying a filter that includes body. By default, post body is not included in the JSON returned by API methods and must explicitly be requested by creating a filter that includes it. The withbody filter, ...


Only top voted, non community-wiki answers of a minimum length are eligible