How to program in Grimport?

Ask us for help with programming in Grimport TRANSLATE THIS PAGE

Grimport Language Documentation

 

Introduction


The Grimport documentation presents basic and advanced Grimport concepts. Our Grimport documentation is designed for beginners and professionals.

It includes all topics of Grimport programming such as installation, strings, lists, control structures, data extraction, etc. We also offer a "To Go Further" section to help you better understand Grimport programming at an advanced level.

 

 

What is Grimport?


Grimport is a computer language derived from Groovy, close to Java and Javascript. Therefore, the Java and Groovy documentations are complementary (but not essential) to this documentation, because you can program with these two languages in Grimport.

Grimport was created to automate as much as possible the heavy tasks of web-mining.
This language is the main one used in Ecommerce.

Grimport is associated with Grimport Crawler. Grimport Crawler is a robot that crawls websites by running a script (computer program) on their web pages. The purpose of this is to extract data from each of these pages.
In grimport, you have two types of scripts:

  • a simple script
  • a crawling script wich includes:
    • the INITIAL script (script executed at the beginning of the crawling)
    • the FORPAGE script (script executed on each page)
    • the FINAL script (script executed at the end of the crawling)

 

Why use Grimport?


The Grimport was conceived especially for the Web-Mining. It allow to import the products of a suppliers on the web shops of a e-merchant, for example. You can automate the management of your catalogs by linking the sites of supplier with your shop.
For example, when an e-merchant executes a Grimport script on a supplier, he can recover the data there to update its web shop. Indeed, product descriptions and other information are not protected by copyright and can be retrieved freely (commercial information rights).

N.B.:

Throughout this documentation, you can access the functionality of each function by clicking on it.

Moreover, we will use the console() function several times. This function displays what is inside the round brackets. We will use it to illustrate our examples. We will write the result in the following form: // -> result.

 

 


Next ❯