2017 © Pedro Peláez
 

library orangelogic-api

Simple OrangeLogic Search API wrapper

image

odiemiranda/orangelogic-api

Simple OrangeLogic Search API wrapper

  • Thursday, October 12, 2017
  • by OdieMiranda
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

OrangeLogic Media Search API

Simple OrangeLogic Search API wrapper, in PHP., (*1)

Installation

You can install orangelogic-api using Composer:, (*2)

composer require odiemiranda/orangelogic-api

You will then need to: * run composer install to get these dependencies added to your vendor directory * add the autoloader to your application with this line: require("vendor/autoload.php"), (*3)

Alternatively you can just download the OrangeLogic.php file and include it manually:, (*4)

include('./OrangeLogic.php');

Examples

Start by use-ing the class and creating an instance with domain, login, and password, (*5)

use \OdieMiranda\OrangeLogic\OrangeLogic;

$api = new OrangeLogic('domain.com', 'LoginName', 'password');

Then, search the media library, (*6)

$api->search('Georgia: DR-TB patients find hope in new treatments');

print_r($api->getItems());

To get the search result next page, (*7)

$api->search('Georgia: DR-TB patients find hope in new treatments', '', '', 2);

print_r($api->getItems());

Contributing

This is a fairly simple wrapper, but it will be made much better by contributions. If you like to suggest an improvement, please raise an issue to discuss it before make a pull-request., (*8)

Pull requests for bugs are more than welcome - please explain the bug you're trying to fix in the message., (*9)

The Versions

12/10 2017

dev-master

9999999-dev https://github.com/odiemiranda/orangelogic-api

Simple OrangeLogic Search API wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Odie Miranda

12/10 2017

v1.01

1.01.0.0 https://github.com/odiemiranda/orangelogic-api

Simple OrangeLogic Search API wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Odie Miranda

11/10 2017

v1.0

1.0.0.0 https://github.com/odiemiranda/orangelogic-api

Simple OrangeLogic Search API wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Odie Miranda