כלים ללכידה ולהמרה של האינטרנט

כיצד להגדיר את הדגמת GrabzIt שלך

The GrabzIt Demo is designed to provide an example of how to use our API to convert URL's and HTML to images and PDF's, as well as online videos to animated GIF's. Once you have setup you GrabzIt Demo it will allow you to experiment with the other features of ממשק ה- API של GrabzIt.

To get the correct instructions for your demo choose the language you are using from the below options.

ממשק API של ASP.NET ממשק API של Java ממשק API של JavaScript ממשק ה- API של Node.js פרל API ממשק API של PHP ממשק API של פייתון ממשק API של רובי

PHP

  1. Download the PHP Demo.
  2. Extract the zip file on your web server or local machine.
  3. ערוך php/config.php קובץ והחלף APPLICATION KEY עם Sign in to view your Application Key ו APPLICATION SECRET עם Sign in to view your Application Secret then if the demo is not on your local machine optionally replace URL OF YOUR GrabzItHandler.php FILE (http://www.example.com/grabzit/handler.php) with the location of your handler.php קובץ.
  4. טען את index.php file in your browser, you can now capture the web!

This is enough information to get the PHP Demo working for more detailed instructions please read the overview of how the PHP API.

JavaScript

  1. Download the JavaScript Demo.
  2. Extract the zip file to a folder on your computer.
  3. להרחיב demo.html ולהחליף YOUR APPLICATION KEY עם Sign in to view your Application Key
  4. פתח את demo.html in your web browser, you can now capture the web!

This is enough information to get the JavaScript Demo working for more detailed instructions please read the overview of how the JavaScript API.

אוֹדֶם

  1. Download the Ruby Demo.
  2. Extract the zip file on your web server or local machine.
  3. ערוך ruby\GrabzItDemo\config\config.yml קובץ והחלף YOUR APPLICATION KEY עם Sign in to view your Application Key ו YOUR APPLICATION SECRET עם Sign in to view your Application Secret then if the demo is not on your local machine optionally replace URL OF YOUR GrabzIt Handler FILE (http://www.example.com/handler/index) with the location of the handler/index
  4. Load the web application in your browser, you can now capture the web!

This is enough information to get the Ruby Demo working for more detailed instructions please read the overview of how the Ruby API.

פיתון

  1. Download the Python Demo.
  2. Extract the zip file on your web server or local machine.
  3. ערוך python\config.ini קובץ והחלף APPLICATION KEY עם Sign in to view your Application Key ו APPLICATION SECRET עם Sign in to view your Application Secret then if the demo is not on your local machine optionally replace URL OF YOUR handler.py FILE (http://www.example.com/grabzit/handler.py) with the location of the handler.py
  4. טען את index.py file in your browser, you can now capture the web!

This is enough information to get the Python Demo working for more detailed instructions please read the overview of how the Python API.

ASP.NET

  1. Download the ASP.NET Demo.
  2. Extract the zip file on your web server or local machine.
  3. Then choose what type of application you want to test:
    - To run the Web Form demo edit the aspnet\Sample\Web.config קובץ והחלף APPLICATION KEY עם Sign in to view your Application Key ו APPLICATION SECRET עם Sign in to view your Application Secret. טען את Default.aspx file in your browser, you can now capture the web!
    - To run the MVC demo edit the aspnet\SampleMVC\Web.config קובץ והחלף APPLICATION KEY עם Sign in to view your Application Key ו APPLICATION SECRET עם Sign in to view your Application Secret.
    - To run the Windows Application demo edit the aspnet\SampleConsole\App.config קובץ והחלף APPLICATION KEY עם Sign in to view your Application Key ו APPLICATION SECRET עם Sign in to view your Application Secret
  4. Then run the SampleConsole project in Visual Studio.

This is enough information to get the ASP.NET Demo working for more detailed instructions please read the overview of how the ASP.NET API.

Java

  1. Download the Java Demo.
  2. Extract the zip file on your web server or local machine.
  3. ערוך java\sample\src\java\config.properties קובץ והחלף APPLICATIONKEY עם Sign in to view your Application Key ו APPLICATIONSECRET עם Sign in to view your Application Secret then if the demo is not on your local machine optionally replace http://www.example.com/grabzit/handler with the location of the grabzit/handler
  4. Load the Java Application in your browser, you can now capture the web!

This is enough information to get the Java Demo working for more detailed instructions please read the overview of how the Java API.

Node.js

  1. Download the Node.js Demo.
  2. Extract the zip file on your web server or local machine.
  3. ערוך nodejs\grabzitdemo\config.js קובץ והחלף YOUR APPLICATION KEY עם Sign in to view your Application Key ו YOUR APPLICATION SECRET עם Sign in to view your Application Secret then if the demo is not on your local machine optionally replace http://www.yourwebsite.com/handler (Change to the location of your handler) with the location of the / מטפל
  4. Load the Node.js Application in your browser, you can now capture the web!

This is enough information to get the Node.js Demo working for more detailed instructions please read the overview of how the Node.js API.

פרל

  1. Download the Perl Demo.
  2. Extract the zip file on your web server or local machine.
  3. ערוך perl\config.ini קובץ והחלף APPLICATION KEY עם Sign in to view your Application Key ו APPLICATION SECRET עם Sign in to view your Application Secret then if the demo is not on your local machine optionally replace URL OF YOUR handler.pl FILE (http://www.example.com/grabzit/handler.pl) with the location of the handler.pl
  4. טען את index.pl file in your browser, you can now capture the web!

To get an overview of how the API works:

This is enough information to get the Perl Demo working for more detailed instructions please read the overview of how the Perl API.