Tiny Tiny RSS: Community

Plugin to post an attachment to an api

I’ve got a plugin I want to write to take attachments in an article, and send them to a sabnzbd server

I’ve found a plugin that gets inline attachments - I think I want that…and just need an example of something that posts to an API. I don’t know php, but can generally follow code.

Would anyone know a plugin that would send content to an external api? Bonus points if it’s an attachment (an image, or audio file or some such).

So basically any of the sharing plugins?

Ahh I thought I’d looked at the wallabang one, but maybe I had only glanced over it…So that’s using curl for php…that looks pretty obvious.

Ok I’ll have a go. I assume in docker, and newer versions of tt-rss, I can put my plugin in plugins.local?