Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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:

share|improve this answer

You must log in to answer this question.

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