tylerjuniorcollege/elevate-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

tylerjuniorcollege/elevate-api

Composer 安装命令:

composer require tylerjuniorcollege/elevate-api

包简介

API Package for Ellucian Elevate API

README 文档

README

API Wrapper for Ellucian Elevate API

LICENSE

See LICENSE File for more information

Purpose

This is a simple wrapper to access the Ellucian Elevate API.

Usage

New Client

Getting a new client is easy.

<?php

use ElevateAPI\Client as ElevateClient; // using use to change the name of the client class.

/* the arguments for the Elevate Client are 
   - the URL before the "solar.qll_web" endpoint
   - the auth key 
   - the security type for accessing the system. */
$client = new ElevateClient('http://example.com', 'auth_key', 'key');

// OR - Less code
$client = new ElevateAPI\Client(/** args here **/);

Querying the API

Each query you make with the Elevate API must be submitted using the Query Wrapper for that specific query.

For example, if you're trying to access the Common API endpoint, you would create a new instance of the ElevateAPI\Query\Common class

$query = new Elevate\Query\Common();

// You set the Parameters using setParam();
$query->setParam('serviceCode', 'ONLINE_REG');

// Pass the query to $client->get(); and the result is a SimpleXMLElement object with your data.
$result = $client->get($query);

Available Query Endpoints

All the currently documented query endpoints have been coded, including Common and Ping.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-29