Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 464 Bytes

File metadata and controls

15 lines (13 loc) · 464 Bytes

app-direct-wrapper

Wrapper Class for the AppDirect Distribution API

Installation

To install it with composer:

composer require adampatpattison/app-direct-wrapper

Usage

$oauthRequest = new \OAuth('consumer_secret', 'consumer_key', OAUTH_SIG_METHOD_HMACSHA1);
$eventUrl = 'http://url.from.appdirect/';
$response = \adampatpattison\AppDirectWrapper\AppDirectRequest::send($eventUrl, $oauthRequest->getRequestHeader('GET', $eventUrl));