Skip to content

simonverzelen/phpCertCenter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Copy CertCenter.inc.php to your favorite library folder. Here's how you can make a simple function call to the CertCenter REST API.

require_once '../my-lib-folder/CertCenter.inc.php';
use CertCenter\RESTful as ccAPI;

$api = new ccAPI();
$api->setAuthorization('#your-token#');

$limits = $api->Limit();
print_r($limits);

Credentials

Before you're able to make function calls against the REST api you need to set your credentials. This can either be done by using the constructor:

$api = new ccAPI($AuthorizationToken="#your-token#");

or by calling the public class method:

$api->setAuthorization('#your-token#');

Where can I get my OAuth2 bearer token?

It's quite easy and a howto is already available:

Documentation

An extensive API and module documentation is available at https://api.certcenter.help

About

CertCenter API PHP Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%