fwolf/tt-sync-plugin-api

Plugin API of TT Sync

v0.1 2017-09-10 12:16 UTC

This package is auto-updated.

Last update: 2024-05-10 03:16:27 UTC


README

Build Status Latest Stable Version License SensioLabsInsight Scrutinizer Code Quality

PluginFactoryInterface & AbstractPluginFactory class

Each plugin should have their own factory class implement PluginFactoryInterface, and implement plugin config after created.

PluginInterface & AbstractPlugin class

All plugins should implement PluginInterface, AbstractPlugin is an implement with shared feature.

MessageInterface & Message class

Messages retrieved from source will be format to MessageInterface instance, and transfer to destination, this interface is a pipe between different message format from different twitter like service.

Message is an implement, with message dump and compare feature, can be used to save message and attachment to disk or sort them for re-post.

AttachmentInterface Attachment class

Interface for attachment, download feature included.

License

Distribute under the MIT license.