Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Github API to populate username field with github user handle and other data #264

Open
RAIReth opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@RAIReth
Copy link
Collaborator

RAIReth commented Oct 15, 2024

On login with Github from Web3Auth flow.

Figure out their username. Pass that to query API. Return data to populate database.

Here's the documentation link, to get the events you can use this endpoint

https://api.github.com/users/{username}/events]

So for example https://api.github.com/users/jmsm412/events would be my events on Github.

Example if cant get another way

"author": {
"email": "[email protected]",
"name": "Juan Miguel Sanchez Mola"

@RAIReth RAIReth added the enhancement New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants