jleagle / imagga-api-client
A package to upload images to, and retrieve API information from Imagga.
0.1.0
2015-04-01 20:49 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ~5.0
Requires (Dev)
- krydos/json-rules-checker: dev-master
This package is auto-updated.
Last update: 2024-10-09 13:59:23 UTC
README
A package to upload images to, and retrieve API information from Imagga.
Instantiate the package using your API details:
$imagga = new Imagga( $apiKey, $apiSecret );
Example API calls:
// Most methods can take an array of either URLs or content IDs. $images = [ 'http://playground.imagga.com/static/img/example_photo.jpg', 'http://playground.imagga.com/static/img/example_photos/japan-605234_1280.jpg' ]; // Gets image tags $tags = $imagga->tags($images); // Get your current API usage levels $usage = $imagga->usage(); // Get the colors of an image $colors = $imagga->colors($images);