PHP code example of image4io / image4iophp-sdk
1. Go to this page and download the library: Download image4io/image4iophp-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
image4io / image4iophp-sdk example snippets
use Image4IO\Image4ioApi;
$apiKey = 'apiKey';
$apiSecret = 'apiSecret';
$api = new Image4ioApi($apiKey, $apiSecret);
$result = $api->getImage('/example.png');