Retrieve user ID from username

Just wondering if there’s a way to retrieve a users ID given their username. For example, I can retrieve the ID for the logged in user from:

http://online-go.com/api/v1/me/

Which I can then use with other API methods such as:

http://online-go.com/api/v1/players/id/games/

Is there a more generalised version of /me/ or /v1/players/id/ which takes a username instead?

Thanks

You can add query parameters on the API endpoint.

e.g.

https://online-go.com/api/v1/players/?username=crodgers will return my information, which contains the id.

Thanks! That did the trick.

I didn’t notice any mention of query string parameters in the docs but that’s probably just me being blind as usual.