This XenForo 2.x addon adds an API endpoint to find a user by criteria
Possible criteria are:
- user_id
- username
If multiple criteria are specified, they are searched in the order listed above and the first match found is returned.
By Simon Hampel.
This addon has been tested on XenForo 2.1