2017 © Pedro Peláez
 

library sdk-php

Deep Art Effects SDK for PHP

image

deeparteffects/sdk-php

Deep Art Effects SDK for PHP

  • Wednesday, June 7, 2017
  • by deeparteffects
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Deep Art Effects SDK for PHP

Use this SDK to access the Deep Art Effects API with PHP., (*1)

Requirements

PHP 5.4.0 and later, (*2)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*3)

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/deeparteffects/sdk-php.git"
    }
  ],
  "require": {
    "deeparteffects/sdk-php": "*@dev"
  }
}

Then run composer install, (*4)

Manual Installation

Download the files and include autoload.php:, (*5)

    require_once('/path/to/sdk-php/autoload.php');

Tests

To run the unit tests:, (*6)

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:, (*7)

setApiKey($api_key);
$api_instance->setApiAccessKey($access_key);
$api_instance->setApiSecretKey($secret_key);

try {
    $styles = $api_instance->stylesGet();

    foreach ($styles as $style) {
        print_r($style->getTitle());
    }

} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stylesGet: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.deeparteffects.com/v1, (*8)

Class Method HTTP request Description
DefaultApi resultGet GET /result
DefaultApi stylesGet GET /styles
DefaultApi uploadPost POST /upload

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

Author

Deep Art Effects GmbH, (*9)

The Versions

07/06 2017

dev-master

9999999-dev https://developer.deeparteffects.com

Deep Art Effects SDK for PHP

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php sdk deeparteffects

07/06 2017

1.0

1.0.0.0 https://developer.deeparteffects.com

Deep Art Effects SDK for PHP

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php sdk deeparteffects