djgadd/themosis-juicer

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0.2) of this package.

A Themosis WordPress plugin that provides a wrapper for the Juicer.io API.

Installs: 82

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:wordpress-plugin

1.0.2 2018-02-01 15:42 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