scrappy icon indicating copy to clipboard operation
scrappy copied to clipboard

API Route for turning Slack User -> Scrappy username

Open aramshiva opened this issue 1 year ago • 5 comments

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 avatar May 11 '24 07:05 aramshiva

I can work on this myself btw!

aramshiva avatar May 11 '24 07:05 aramshiva

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

JosiasAurel avatar May 11 '24 08:05 JosiasAurel

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

aramshiva avatar May 11 '24 08:05 aramshiva

a second api call to scrappy?

JosiasAurel avatar May 11 '24 08:05 JosiasAurel

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

aramshiva avatar May 11 '24 15:05 aramshiva

@aramshiva what's the status on this?

JosiasAurel avatar Jul 23 '24 06:07 JosiasAurel

I haven't been able to get this done yet. I probably wont in the near future unless I stop procrastinating.

aramshiva avatar Jul 23 '24 06:07 aramshiva

I'll go ahead and close this for now. Note that right now we have an api for listening to scrapbook updates (which includes the poster's username). If you still need this particular feature please re-open.

JosiasAurel avatar Jul 23 '24 06:07 JosiasAurel