承接 odiemiranda/orangelogic-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

odiemiranda/orangelogic-api

Composer 安装命令:

composer require odiemiranda/orangelogic-api

包简介

Simple OrangeLogic Search API wrapper

README 文档

README

Simple OrangeLogic Search API wrapper, in PHP.

Installation

You can install orangelogic-api using Composer:

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")

Alternatively you can just download the OrangeLogic.php file and include it manually:

include('./OrangeLogic.php');

Examples

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

use \OdieMiranda\OrangeLogic\OrangeLogic;

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

Then, search the media library

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

print_r($api->getItems());

To get the search result next page

$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.

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

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固