2017 © Pedro Peláez
 

library rewardstack

RewardStack SDK

image

alldigitalrewards/rewardstack

RewardStack SDK

  • Thursday, June 28, 2018
  • by Houghtelin
  • Repository
  • 2 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 67 % Grown

The README.md

Skeleton Library

This is an ADR RewardStack SDK, (*1)

Install

Via Composer, (*2)

$ composer require alldigitalrewards/rewardstack

Usage

Bootstrap

<?php
require __DIR__ . '/vendor/autoload.php';

$credentials = new \AllDigitalRewards\RewardStack\Auth\Credentials(
    'username',
    'password'
);

$uri = new \GuzzleHttp\Psr7\Uri('https://admin.qa.alldigitalrewards.com');

$httpClient = new \GuzzleHttp\Client();

$authProxy = new \AllDigitalRewards\RewardStack\Auth\AuthProxy($credentials, $uri, $httpClient);

$client = new \AllDigitalRewards\RewardStack\Client($authProxy);

Get a Participant

<?php
$participantRequest = new \AllDigitalRewards\RewardStack\Request\ParticipantRequest('TESTPARTICIPANT1');

$participant = $client->request($participantRequest);

Testing

$ composer test

The Versions

28/06 2018

dev-master

9999999-dev

RewardStack SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

28/06 2018

0.0.3

0.0.3.0

RewardStack SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

27/06 2018

0.0.2

0.0.2.0

RewardStack SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

10/04 2018

0.0.1

0.0.1.0

RewardStack SDK

  Sources   Download

MIT

The Requires

 

The Development Requires