2017 © Pedro Peláez
 

library acms-api-php

PHP wrappers for Accredible ACMS API

image

accredible/acms-api-php

PHP wrappers for Accredible ACMS API

  • Friday, December 8, 2017
  • by aheppenstall
  • Repository
  • 4 Watchers
  • 1 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 12 Versions
  • 6 % Grown

The README.md

Accredible Logo, (*1)

Accredible API PHP SDK

Build Status, (*2)

Overview

The Accredible platform enables organizations to create, manage and distribute digital credentials as digital certificates or open badges., (*3)

An example digital certificate and badge can be viewed here: https://www.credential.net/10000005, (*4)

This Composer package wraps the Accredible API in PHP for easy integration into projects. The full REST API documentation can be found here: http://docs.accrediblecredentialapi.apiary.io/, (*5)

Example Output

Example Digital Certificate, (*6)

Example Open Badge, (*7)

Install

composer require accredible/acms-php-api dev-master

Usage

Add use ACMS\Api; to the class you'd like to use the API in., (*8)

use ACMS\Api;

// Instantiate the API instance replacing APIKey with your API key
$api = new Api("APIKey");

// Get a Credential
$api->get_credential(10000005);

// Get an array of Credentials 
$api->get_credentials(null, "john@example.com");

// Create a Credential - Name, Email, Group ID
$api->create_credential("John Doe", "john@example.com", 54018);

// Update a Credential
$api->update_credential(10000005, "Jonathan Doe");

// Delete a Credential
$api->delete_credential(10000005);

// Get a Group
$api->get_group(100);

// Create a Group - Name, Course Name, Course Description, Course Link
$api->create_group("PHPTest", "Test course", "Test course description.", "http://www.example.com");

// Update a Group 
$api->update_group(100, 'PHPTest2');

// Delete a Group
$api->delete_group(100);

Bug reports

If you discover any bugs, feel free to create an issue on GitHub. Please add as much information as possible to help us fixing the possible bug. We also encourage you to help even more by forking and sending us a pull request., (*9)

https://github.com/accredible/acms-php-api/issues, (*10)

License

This project is open-sourced software licensed under the MIT license, (*11)

Todo

  • Make batch comsumption easier (example https://github.com/facebook/php-graph-sdk/blob/ad21129edb95196d04e4e69a464702215ad8c255/src/Facebook/FacebookBatchRequest.php) and document
  • Add evidence item endpoints
  • Add reference endpoints
  • Add additional test suite using mocks

The Versions

08/12 2017

dev-master

9999999-dev

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alan Heppenstall

08/12 2017

v0.2.4

0.2.4.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alan Heppenstall

08/12 2017

v0.2.3

0.2.3.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alan Heppenstall

17/11 2017

v0.2.2

0.2.2.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alan Heppenstall

17/11 2017

v0.2.1

0.2.1.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alan Heppenstall

16/11 2017

v0.2.0

0.2.0.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall

15/11 2017

v0.1.4

0.1.4.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall

15/11 2017

dev-hotfix/update-guzzle

dev-hotfix/update-guzzle

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall

13/12 2016

v0.1.3

0.1.3.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall

17/11 2016

v0.1.2

0.1.2.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall

11/11 2016

v0.1.1

0.1.1.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall

09/11 2016

v0.1.0

0.1.0.0

PHP wrappers for Accredible ACMS API

  Sources   Download

MIT

The Requires

 

by Alan Heppenstall