2017 © Pedro Peláez
 

library php-sdk

PHP SDK for WickedReports

image

wickedreports/php-sdk

PHP SDK for WickedReports

  • Friday, July 20, 2018
  • by alright
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2,002 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 144 % Grown

The README.md

Wicked Reports PHP SDK (beta)

Documentation

You can find current API documentation in this doc., (*1)

Install

Using the composer CLI:, (*2)

composer require wickedreports/php-sdk

Or manually add it to your composer.json:, (*3)

``` json { "require": { "wickedreports/php-sdk": "1.5.*" } }, (*4)


## Authentication To use API SDK, you should have your own API key. ```php $api = new \WickedReports\WickedReports($yourApiKey); $api->addOrders($orders);

Examples

You can see list of usage examples in examples/example.php file., (*5)

Dates

DateTime objects are used instead of a DateTime string where the date(time) is a parameter in the method., (*6)

$datetime = new \DateTime('now', new \DateTimeZone('America/New_York'));

As other way, you can use simple date-time string with timezone property set., (*7)

[
    'CreateDate' => '2017-08-01 00:05:01',
    'timezone'   => 'EST'
]

You can see list of supported timezones on PHP.net website., (*8)

You have to use one of these ways to provide date time, otherwise you will get error or wrong date saved into our DB., (*9)

Provided date-time string will be automatically converted to UTC timezone, as it requires our API documentation., (*10)

Testing

bash $ phpunit, (*11)

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

20/07 2018

dev-master

9999999-dev

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

20/07 2018

1.4.2

1.4.2.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

18/06 2018

1.4.1

1.4.1.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

26/01 2018

1.4.0

1.4.0.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

25/01 2018

1.3.0

1.3.0.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

30/10 2017

1.2.0

1.2.0.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

22/09 2017

1.1.0

1.1.0.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires

31/08 2017

1.0.0

1.0.0.0

PHP SDK for WickedReports

  Sources   Download

MIT

The Requires

 

The Development Requires