provider users GET
/user @utdk/github
/user Get the authenticated user
OAuth app tokens and personal access tokens (classic) need the `user` scope in order for the response to include private profile information.
Try it
Authentication
Configure credentials for GitHub v3 REST API
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.users.getAuthenticated()