Download the PHP package rishimohan/pika-sdk without Composer
On this page you can find all versions of the php package rishimohan/pika-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pika-sdk
Pika API PHP SDK
View on Packagist: https://packagist.org/packages/rishimohan/pika-sdk
Installation
Usage
If you don't have your API key, get one from pika.style. Check the documentation on how to get your API key
Generate image
Example
Base64
response format
Base64 output
Binary
response format
This example writes the binary image to the file og.png
generateImageFromTemplate
Use this function to generate an image. It takes in 3 arguments
argument | required | description |
---|---|---|
templateId |
Yes | ID of the template (open-graph-image-1 , tweet-image-1 , beautify-screenshot-1 , ...) |
modifications |
Yes | Modifications for the selected template. |
responseFormat |
No | base64 or binary (Defaults to base64 ). |
For available templates and their modifications refer image generation api templates
All versions of pika-sdk with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^7.8.1
The package rishimohan/pika-sdk contains the following files
Loading the files please wait ....