Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jleagle/imagga-api-client
A package to upload images to, and retrieve API information from Imagga
https://github.com/jleagle/imagga-api-client
Last synced: about 9 hours ago
JSON representation
A package to upload images to, and retrieve API information from Imagga
- Host: GitHub
- URL: https://github.com/jleagle/imagga-api-client
- Owner: Jleagle
- Created: 2015-03-24T21:24:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-01T20:53:35.000Z (almost 10 years ago)
- Last Synced: 2025-01-19T04:21:40.584Z (1 day ago)
- Language: PHP
- Homepage:
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
imagga-api-client
=================A package to upload images to, and retrieve API information from Imagga.
Instantiate the package using your API details:
```php
$imagga = new Imagga(
$apiKey,
$apiSecret
);
```Example API calls:
```php
// 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);
```