2017 © Pedro Peláez
 

library curator_io

Library used to communicate with Currator.io Social media aggregation API

image

dpazuic/curator_io

Library used to communicate with Currator.io Social media aggregation API

  • Friday, April 13, 2018
  • by dpazuic
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

curator_io

Use with composer by including include_once('vendor/autoload.php'); on your project page., (*1)

Instantiate curator_io

Instantiate curator_io by creating a new instance of \dpazuic\curator_io(YOUR_API_KEY);. Note, replace YOUR_API_KEY with the API key curator_io provides you., (*2)

Use methods

Use any of the included methods Be mindful that some of the methods require extra parameters to be passed, (*3)

include_once('vendor/autoload.php');

$curatorIO = new \dpazuic\curator_io("SOME_KEY");

// Get Sources
$curatorIO->getSources();

// Get Feeds
$curatorIO->getFeeds();

// Get All Posts
$curatorIO->getAllPosts("SOME_FEED_ID");

// Get first 100 Posts
$curatorIO->getPosts("SOME_FEED_ID");

// Get next 30 Posts (after the first 100 posts)
$curatorIO->getPosts("SOME_FEED_ID", 30, 100);

The Versions

13/04 2018

dev-master

9999999-dev https://bitbucket.org/dpazuic/curator_io

Library used to communicate with Currator.io Social media aggregation API

  Sources   Download

MIT