GrabzIt supports the exporting of captures to Amazon S3, Dropbox, FTP and WebDav. To get started get the credentials of your desired export method and enter it into the below form. Then press the Generate button to create a export URL that can be used in GrabzIt's API's. However before you can export to DropBox you need to authorize GrabzIt to use your account.
Once you have generated the export URL above, an example of exporting a capture will appear for every programming language we currently support below.
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); ImageOptions options = new ImageOptions(); options.ExportURL = "dropbox://"; grabzIt.URLToImage("http://www.spacex.com", options); grabzIt.Save("http://www.example.com/Home/Handler");
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); ImageOptions options = new ImageOptions(); options.setExportURL("dropbox://"); grabzIt.URLToImage("http://www.spacex.com", options); grabzIt.Save("http://www.example.com/handler");
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id was 12345 then the file would be exported as 12345.pdf. The id can be accessed by using the onfinish event as shown below.
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.5.2/grabzit.min.js"></script> <script> GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com", {"onfinish": function (id){ alert(id); }, "export":"dropbox://"}).Create(); </script>
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
var grabzit = require('grabzit'); var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret"); var options = {"exportUrl":"dropbox://"}; client.url_to_image("http://www.spacex.com", options); client.save("http://www.example.com/handler", function (error, id){ if (error != null){ throw error; } });
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret"); $options = GrabzItImageOptions->new(); $options->exportURL("dropbox://"); $grabzIt->URLToImage("http://www.spacex.com", $options); $grabzIt->Save("http://www.example.com/handler.pl");
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); $options = new \GrabzIt\GrabzItImageOptions(); $options->setExportURL("dropbox://"); $grabzIt->URLToImage("http://www.spacex.com", $options); $grabzIt->Save("http://www.example.com/handler.php");
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret") options = GrabzItImageOptions.GrabzItImageOptions() options.exportURL = "dropbox://" grabzIt.URLToImage("http://www.spacex.com", options) grabzIt.Save("http://www.example.com/handler.py")
All captures are saved with a filename that matches the id of the capture with the file extension appended to the end. To get the filename you must specify a callback handler parameter and perhaps a custom identifier to allow you to do any required post processing in the handler code.
https://api.grabz.it/services/convert?key=Sign in to view your Application Key&export=dropbox%3A%2F%2F&customid=123&callback=https%3A%2F%2Fwww.example.com%2Fmy_handler&format=jpg&url=https%3A%2F%2Fspacex.com%2F
Captures are saved with a filename that matches the id of the capture with the file extension appended to the end. For instance if you created a PDF capture and the id returned by the save method was 12345 then the file would be exported as 12345.pdf. An easier option to get the filename is to specify a callback handler to the save method and read the filename in the handler code.
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret") options = GrabzIt::ImageOptions.new() options.exportURL = "dropbox://" grabzIt.url_to_image("http://www.spacex.com", options) grabzItClient.save("http://www.example.com/handler/index")
Sometimes you need to use a Export URL in the browser using the JavaScript API in those circumstances the username and password of your storage solution would be exposed. To get around this problem you can instead use a Secure Export URL. This will stop your username and password being exposed. If you want to manage Secure Export URL's you have created in the past you can do so in the application section of your account.