Completed

USE API from [url removed, login to view] to screenshot my page from a button

I want to add a button to this page that creates a pdf screenshot of the website using the [url removed, login to view] API.

The website I need screenshotted is: [url removed, login to view]~demo/order_form/

Here are the instructions from the [url removed, login to view] website:

[url removed, login to view]

The best way to put website screenshots into your PHP application is by downloading our simple to use PHP package.

The diagnostics panel can help you debug your code!

GrabzIt's screenshot API is very flexible and can be called in many ways such as from a cronjob or a PHP web page.

First of all create an instance of the GrabzItClient class. Pass your application key and application secret from your GrabzIt account to the constructor. [ I will provide that]

include("[url removed, login to view]");

// Create the GrabzItClient class

// Replace "APPLICATION KEY", "APPLICATION SECRET" with the values from your account!

$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");

Then use one of the SetImageOptions, SetPDFOptions, SetAnimationOptions or SetTableOptions methods to request that the GrabzIt service take a screenshot of the URL passed to it.

// To take a image screenshot

$grabzIt->SetImageOptions("[url removed, login to view]");

// Or to take a PDF screenshot

$grabzIt->SetPDFOptions("[url removed, login to view]");

// Or to convert online videos into animated GIF's

$grabzIt->SetAnimationOptions("[url removed, login to view]");

// Or to capture table(s)

$grabzIt->SetTableOptions("[url removed, login to view]");

Then use one of the following save methods. Notice that we also include the URL to the [url removed, login to view] this handler will process the callback from the service and save the resulting screenshot.

$grabzIt->Save("[url removed, login to view]");

Alternatively the synchonous SaveTo method, this will force your application to wait while the screenshot is created so it should only be used were the Save method cannot be used. Once the screenshot is created it is saved to the file path provided.

$filepath = "images/[url removed, login to view]";

$grabzIt->SaveTo($filepath);

More Options

There are many more options including; configuring the browser height, browser width, screenshot height, screenshot width, the delay before a screenshot is taken and the image format of the screenshot. For all these options please see the Client documentation.

Skills: ASP, Java, Javascript, node.js, PHP

See more: website best image format, screenshot online website, php to jpg online, i want to create website help help, i want to create web page, i want to create my web, it website, force com api, create animated videos online, best web page 2015

About the Employer:
( 70 reviews ) Elmsford, United States

Project ID: #9112658

Awarded to:

faysalce

Going through all the requirements and understanding the job responsibilities I found that I could be the right person that you are looking for. My five years of experience has given me confidence to apply for this pos More

$5 USD / hour
(5 Reviews)
2.7

3 freelancers are bidding on average $4/hour for this job

rodweb

Aucune proposition n'a encore été fournie.

$3 USD / hour
(15 Reviews)
3.5
TiefaNovic

A proposal has not yet been provided

$5 USD / hour
(4 Reviews)
2.6