2017 © Pedro Peláez
 

library php-sdk

Picovico3 Official PHP SDK

image

picovico/php-sdk

Picovico3 Official PHP SDK

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 4 Open issues
  • 16 Versions
  • 9 % Grown

The README.md

Picovico - Official PHP SDK

Picovico is a online video creating platform., (*1)

Picovico 2.0

Picovico 2.0, the latest version of Picovico, which has been re-engineered and re-systematized from the core. The latter version is improved towards providing better user experience and stability. SDK will be available for the new version very soon., (*2)

API Version

2.1, (*3)

API Documentation

picovico.readthedocs.org, (*4)

Author

picovico.com, (*5)

Getting Started

Picovico PHP-SDK is available on Packagist via composer, (*6)

{
    "require": {
        "picovico/php-sdk": "dev-master"
    }
}

Functions Overview

  • login - Login with username and password
  • authenticate - Login with app_id and app_secret (API version 2.1 or above required)
  • set_login_tokens - Set authentication tokens if saved earlier
  • open - open any existing video project
  • begin - begin with a new video project
  • upload_image - upload local or remote image. (remote content is not downloaded locally. 250 chars max for remote content)
  • upload_music - upload local or remote music. (remote content is not downloaded locally. 250 chars max for remote content)
  • add_image - append image as next slide - (Uploads first, then adds to the project. No need to call upload_image if this function is used)
  • add_library_image - append previouosly uploaded image as next slide
  • add_text - append text as next slide
  • add_music - define background music
  • add_library_music - define previously uploaded content as background music
  • get_styles - get styles available for the account
  • set_style - define style for the active video project
  • set_quality - define quality for the active video project
  • add_credits - define credit slides for the active video project (Credits appear at the end of video)
  • remove_credits - remove all the credits defined in the active video
  • get - request information about any previously existing video (Is available for editing after open() only)
  • save - save the video progress (automatically saved before creating)
  • create - request to render the video.
  • preview - send a request to generate preview quality video
  • reset - reset the project progress (resets the slides, quality, credits, style)
  • dump - returns the local progress with active project

Example Walkthrough

examples/README.md, (*7)

Command-line Usage

A built-in command-line client picovico.sh is available under tools directory. The client is designed such that it provides a bash port to a self-client written using this SDK. It provides all methods as above, except the underscores are replaced with hyphens., (*8)

Plus few more actions are specified., (*9)

Usage

Syntax:

$ picovico <action> <arg> <arg> ...

Bash Autocomplete

copy tools/bash_completion.d/picovico to /etc/bash_completion.d/picovico, (*10)

Common examples

$ picovico login
$ picovico authenticate
$ picovico add-image

Extra actions available from command-line

Current cli session, (*11)

$ picovico session

Current project from cli, (*12)

$ picovico project

Authenticating in the command-line

The cli version requires following environment variables to set with the values obtained from your account. - PICOVICO_APP_ID - PICOVICO_APP_SECRET - PICOVICO_SDK, (*13)

for example in ~/.bashrc, (*14)

export PICOVICO_APP_ID=<some-app-id>
export PICOVICO_APP_SECRET=<some-app-secret>
export PICOVICO_SDK=php

The Versions

15/08 2017

dev-lib3

dev-lib3 http://github.com/picovico/php-sdk

Picovico3 Official PHP SDK

  Sources   Download

Apache

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

02/08 2017

v3.0.2

3.0.2.0 http://github.com/picovico/php-sdk

Picovico3 Official PHP SDK

  Sources   Download

Apache

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

02/08 2017

v3.0.1

3.0.1.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

02/08 2017

v3.0.0

3.0.0.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

19/10 2016

dev-master

9999999-dev http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

19/11 2015

dev-feature/multiple-drafts

dev-feature/multiple-drafts http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

api picovico video maker slideshow maker

22/06 2015

v2.0.13

2.0.13.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

22/06 2015

dev-feature-api-request

dev-feature-api-request http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

19/03 2015

2.0.12

2.0.12.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

19/03 2015

2.0.12-rc

2.0.12.0-RC http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

19/03 2015

dev-duplicate

dev-duplicate http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

17/03 2015

dev-dev

dev-dev http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

17/03 2015

v2.0.11

2.0.11.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

17/03 2015

v2.0.10

2.0.10.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

16/03 2015

v2.0.9

2.0.9.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker

14/03 2015

v2.0.8

2.0.8.0 http://github.com/picovico/php-sdk

Official PHP SDK from Picovico

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

api picovico video maker slideshow maker