https://github.com/fwolf/tt-sync-plugin-api
Plugin API for Tt Sync https://github.com/fwolf/tt-sync
https://github.com/fwolf/tt-sync-plugin-api
api plugin tt-sync
Last synced: over 1 year ago
JSON representation
Plugin API for Tt Sync https://github.com/fwolf/tt-sync
- Host: GitHub
- URL: https://github.com/fwolf/tt-sync-plugin-api
- Owner: fwolf
- Created: 2017-09-08T09:51:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-10T12:22:26.000Z (almost 9 years ago)
- Last Synced: 2025-01-20T18:44:12.896Z (over 1 year ago)
- Topics: api, plugin, tt-sync
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Plugin API for Tt Sync
[](https://travis-ci.org/fwolf/tt-sync-plugin-api)
[](https://packagist.org/packages/fwolf/tt-sync-plugin-api)
[](https://packagist.org/packages/fwolf/tt-sync-plugin-api)
[](https://insight.sensiolabs.com/projects/96a869bb-8a09-46df-8061-e721d13d9cff)
[](https://scrutinizer-ci.com/g/fwolf/tt-sync-plugin-api/?branch=master)
## PluginFactoryInterface & AbstractPluginFactory class
Each plugin should have their own factory class implement
[PluginFactoryInterface](src/PluginApi/PluginFactoryInterface.php), and
implement plugin config after created.
## PluginInterface & AbstractPlugin class
All plugins should implement
[PluginInterface](src/PluginApi/PluginInterface.php),
[AbstractPlugin](src/PluginApi/AbstractPlugin.php) is an implement with shared
feature.
## MessageInterface & Message class
Messages retrieved from source will be format to
[MessageInterface](src/PluginApi/MessageInterface.php) instance, and transfer to
destination, this interface is a pipe between different message format from
different twitter like service.
[Message](src/PluginApi/Message.php) 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.