2017 © Pedro Peláez
 

library trustpilot-authenticator

A PHP library for obtaining Trustpilot API access tokens

image

itspirit/trustpilot-authenticator

A PHP library for obtaining Trustpilot API access tokens

  • Wednesday, July 5, 2017
  • by ITspirit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,162 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 17 % Grown

The README.md

Trustpilot Authenticator

Latest Stable Version Total Downloads License, (*1)

A PHP library for obtaining Trustpilot Business User API access tokens., (*2)

Install

Install using composer:, (*3)

composer install itspirit/trustpilot-authenticator

Usage

$authenticator = new Trustpilot\Api\Authenticator\Authenticator($apiKey, $apiToken, $username, $password);

$accessToken = $authenticator->getAccessToken();

// $accessToken->getToken(): string
// $accessToken->hasExpired(): bool
// $accessToken->getExpiry(): \DateTimeImmutable
// $accessToken->serialize(): string

Tests

This package use Codeception for testing. To run the tests just type, (*4)

vendor/bin/codecept run

The Versions

05/07 2017

dev-master

9999999-dev

A PHP library for obtaining Trustpilot API access tokens

  Sources   Download

MIT

The Requires

 

The Development Requires

05/07 2017

1.0.0

1.0.0.0

A PHP library for obtaining Trustpilot API access tokens

  Sources   Download

MIT

The Requires

 

The Development Requires

03/07 2017

0.2

0.2.0.0

A PHP library for obtaining Trustpilot API access tokens

  Sources   Download

MIT

The Requires

 

27/01 2016

0.1.1

0.1.1.0

A PHP library for obtaining Trustpilot API access tokens

  Sources   Download

MIT

The Requires

 

27/01 2016

0.1

0.1.0.0

A PHP library for obtaining Trustpilot API access tokens

  Sources   Download

MIT

The Requires