I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name.

As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3).

I tried doing this:

[INFO][2013-04-13 18:33:03] Making request to /2.0/users?filter=marcamillion&site=stackoverflow&key=2some_key
 => [] 

But that doesn't work.

How do I do that?

1 Answer 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:


Or, with some more useful fields returned:


You must log in to answer this question.

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