REST API endpoints for users - GitHub Docs

Use the REST API to get public and private information about authenticated users.