nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Rest APIs

Open FireMasterK opened this issue 4 years ago • 6 comments

Would be a nice idea to add a Rest API to Nitter. Invidious's API is a great example of how it could be implemented.

FireMasterK avatar Jun 15 '20 20:06 FireMasterK

I would like to see this also to allow for further front end apps such as fritter on mobile (as I noted wanting to use this as a backend in fritter app for android)

Joshndroid avatar Jul 24 '21 11:07 Joshndroid

Are there any plans on implementing this?

pluja avatar Oct 20 '21 07:10 pluja

@zedeus @pluja the PR #440 by @xyb seems trying to implement this. For some reason there's no reaction on #440 so far. Would be very grateful for your feeback on this. To me personally nitter is already very useful but the ability of integrations in e.g. mobile apps through a REST api would highly increase the UX. Thank you for maintaining this great project. I'd love to contribute to the code however learning nim upfront is unfortunatley a show stopper as I face resource conflicts.

eUgEntOptIc44 avatar Aug 14 '22 20:08 eUgEntOptIc44

The PR doesn't cover things like rate limiting, server config to control usage of the API (e.g. disabling it), documentation, reusing code to avoid duplication for every endpoint, etc. I'm not sure yet how to tackle it as it's very hard to change an API after it's made since you end up breaking everything people have built with it, and different Nitter instances would end up having different API versions as well. It needs more consideration and careful effort. I don't have much time for Nitter in general, so this is too much for me to do at the moment.

zedeus avatar Aug 14 '22 21:08 zedeus

Ok I see. Sorry to hear that.

eUgEntOptIc44 avatar Aug 14 '22 21:08 eUgEntOptIc44

Hi, is this feature planned on the roadmap? Would be very helpful when developing on top of Nitter.

r3nor avatar Mar 24 '23 08:03 r3nor