djgadd / themosis-juicer
A Themosis WordPress plugin that provides a wrapper for the Juicer.io API.
Installs: 83
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.0
- composer/installers: ~1.2
- djgadd/themosis-cache: ^1.0
- djgadd/themosis-illuminate: ^1.0
- djgadd/themosis-logger: ^1.0
- guzzlehttp/guzzle: ^6.2
- illuminate/support: ^5.4
- nesbot/carbon: ^1.22
- themosis/framework: ^1.3
This package is auto-updated.
Last update: 2021-10-15 21:19:55 UTC
README
A WordPress plugin for the Themosis framework that provides an wrapper for the Juicer.io API. Requires a Juicer account to be of any use, charges apply. Also provides an admin UI to do some basic tasks, such as adding sources and removing posts from a feed, and an ACFv5 field.
Install
Install through composer: -
composer require keltiecochrane/themosis-juicer
Create a juicer.config.php, and add the following: -
return [
'slug' => 'feed-slug',
'token' => 'your-token',
];
Usage
Once activated, use the facade to access the different endpoints, e.g.: -
$feed = Juicer::feed(Config::get('juicer.slug'));
$feed->update_frequency = 240;
$feed->save();
$sources = $feed->sources()->get();
$posts = $feed->posts()
->filter('Twitter')
->get();
Todo
- Caching needs further integration.
- Access a source's posts.
- Documentation.
Support
This plugin is provided as is, though we'll endeavour to help where we can. By using this plugin you forfeit your right to any warranty or costs associated with it's use.
Contributing
Any contributions would be encouraged and much appreciated, you can contribute by: -
- Reporting bugs
- Suggesting features
- Sending pull requests