2017 © Pedro Peláez
 

library api-client

PHP library for interacting with the DASH Platform API

image

sportsit/api-client

PHP library for interacting with the DASH Platform API

  • Friday, September 22, 2017
  • by ronindesign
  • Repository
  • 6 Watchers
  • 1 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Dash - API Client Library

Additional documentation to follow., (*1)

Installing Dash API Client

With Composer

The recommended way to install Dash API Client is through Composer., (*2)

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of Dash API Client:, (*3)

php composer.phar require sportsit/api-client

After installing, you need to require Composer's autoloader:, (*4)

require 'vendor/autoload.php';

You can then later update Dash API Client using composer:, (*5)

bash composer.phar update, (*6)

Usage

Creation of a client can be done as shown below: ```php $config = new \Dash\Configuration($clientID, $clientSecret, $companyCode); $client = new \Dash\Client($config);, (*7)


The client is a simple wrapper around the Guzzle HTTP library and as such any Guzzle methods can be accessed on the client as well. ```php $response = $client->get($uri, $options);

Making calls to the Dash API requires that you have a valid access token so make sure you authenticate with the API before making any other calls. Once you have an access token, it will automatically be added to all subsequent calls., (*8)

$response = $client->authenticate()->get($uri, $options);

The Versions

22/09 2017

dev-strict

dev-strict https://github.com/SportsIT/api-client

PHP library for interacting with the DASH Platform API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nate Strandberg

api client api client dash dashplatform sportsit

29/08 2017

dev-master

9999999-dev https://github.com/SportsIT/api-client

PHP library for interacting with the DASH Platform API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nate Strandberg

api client api client dash dashplatform sportsit

30/07 2016

dev-clean-up

dev-clean-up https://github.com/SportsIT/api-client

PHP library for interacting with the DASH Platform API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nate Strandberg

api client api client dash dashplatform sportsit

21/06 2016

v1.x-dev

1.9999999.9999999.9999999-dev https://github.com/SportsIT/api-client

PHP library for interacting with the DASH Platform API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nate Strandberg

api client api client dash dashplatform sportsit

21/06 2016

v1.0.0

1.0.0.0 https://github.com/SportsIT/api-client

PHP library for interacting with the DASH Platform API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nate Strandberg

api client api client dash dashplatform sportsit