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:

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

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


You can add query parameters on the API endpoint.

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