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

API Route for turning Slack User -> Scrappy username #597

Open
aramshiva opened this issue May 11, 2024 · 5 comments
Open

API Route for turning Slack User -> Scrappy username #597

aramshiva opened this issue May 11, 2024 · 5 comments

Comments

@aramshiva
Copy link
Member

aramshiva commented May 11, 2024

I would love an API route to get a slack user id and turn it into a scrappy username. It should take in a slack user id in the API url and should contain either the entire user data or just its scrappy username

@aramshiva
Copy link
Member Author

I can work on this myself btw!

@JosiasAurel
Copy link
Contributor

What is the entire user data here? Does that include their scrapbook updates?

@aramshiva
Copy link
Member Author

Data can show the users scrappy username, slack username (confirmation?), the rest can be just found out by a second API call

@JosiasAurel
Copy link
Contributor

a second api call to scrappy?

@aramshiva
Copy link
Member Author

I meant, they would use this just to get the scrappy username and if they would need something like posts they can use the already built in /api/users/[username]. You don't need to provide that much info in this API request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants