api icon indicating copy to clipboard operation
api copied to clipboard

Twitch Profile support

Open pajlada opened this issue 3 years ago • 8 comments

What service do you want support added for?

Add support for twitch.tv profile links

Links

  1. https://twitch.tv/pajlada
  2. https://www.twitch.tv/forsen
  3. https://www.twitch.tv/fourtf

Thumbnail

Profile image Live status? Bio? Followers?

Additional information

https://dev.twitch.tv/

pajlada avatar Apr 24 '21 12:04 pajlada

I've marked this as a good first issue - if you want to start working on this please let me know and I will assign you to this issue so we don't get duplicate work done.

pajlada avatar Apr 24 '21 12:04 pajlada

Also make sure links such as

  • https://twitch.tv/following
  • https://www.twitch.tv/directory
  • https://www.twitch.tv/inventory
  • etc.

are handled correctly

leon-richardt avatar Apr 24 '21 12:04 leon-richardt

Happy to pick up after #157 is closed

jupjohn avatar Jun 22 '21 02:06 jupjohn

helix package doesn't have the created_at field exported for users. Created a PR to add it.

jupjohn avatar Jul 11 '21 04:07 jupjohn

This one is open for grabs if anyone wants to check this out, happy to help guide anyone looking to make their first contribution

pajlada avatar Oct 10 '23 21:10 pajlada

@pajlada I would like to make my first contribution. I'll appreciate your guidance.

silaselisha avatar Apr 25 '24 10:04 silaselisha

This should be part of the internal/resolvers/twitch package You have to extend the TwitchAPIClient defined in its initialize.go file to support this function You need to define an additional resolver (see its Clip Resolver) that matches Twitch profile URLs, that then call the above-mentioned function to get information about the user I'm not sure exactly what information would be nice to show, or in what format. I'd be happy to let you experiment with that and see what you think works best, and then we can iterate on that together.

Let me know if that helps or if there's any further guidance that would be useful @silaselisha

pajlada avatar Apr 25 '24 10:04 pajlada

@pajlada I'll experiment with this, for any query I'll let you know.

silaselisha avatar Apr 25 '24 12:04 silaselisha

I would like to build a resolver for twitch users, feel free to assign the issue to me.

M4tthewDE avatar Aug 26 '24 18:08 M4tthewDE