Skip to content

ParseHub

The ParseHub modules allow you to create, update, list, and/or delete projects, runs, and get data in your ParseHub account.

Prerequisites

  • A ParseHub account

In order to use ParseHub with Ibexa Connect, it is necessary to have a ParseHub account. If you do not have one, you can create a ParseHub account at https://www.parsehub.com/.

Note

The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!

Connecting ParseHub to Ibexa Connect

To connect your ParseHub account to Ibexa Connect, you need to obtain your API Key.

  1. Log into your ParseHub account.

  2. Click your profile icon and click Account.

    61f2752c2176b.gif

  3. Copy the API Key to your clipboard.

    61f2752e1e6e0.png

  4. Go to Ibexa Connect and open the ParseHub module's Create a connection dialog.

    61f2752f441f9.gif

  5. In the Connection Name field, enter a name for the connection.

  6. In the API Key field, enter the API Key copied in step 2.

  7. Click Continue.

The connection has been established.

Project

List Projects

Retrieves a list of all projects in an account.

Limit The maximum number of projects Ibexa Connect should return during one scenario execution cycle.

Get a Project

Gets details of a project in an account.

Project token Select the project whose details you want to retrieve.

Run a Project

Starts running an instance of a project on the ParseHub cloud.

Project token The maximum number of projects Ibexa Connect should return during one scenario execution cycle.
Start value override Enter the value with which you want to override the start value of the run for this project.
Send email Select if you want to send notifications about this project.

Run

Watch Runs

Triggers when a new run is started in a project.

Get a Run

Returns the run object for a given run token.

Run token Enter the unique Run ID of the data you want to retrieve.

Cancel a Run

Cancels a run and changes its status to canceled.

Run token Enter the unique Run ID you want to cancel.

Delete a Run

Cancels and deletes a run and its data.

Run token Enter the unique Run ID you want to delete.

Data

Get Last Ready Data

Returns the date for the most recent ready run of a project.

Note

Returned GZ archive file can be further extracted and downloaded using the CloudConvert > Convert a File module.

61f275315b787.png

Project token

Select the project whose data you want to retrieve.

Format

Select the format in which you want to retrieve the details of the last ready data:

  • JSON

  • CSV

Get Data for a Run

Returns the data that was extracted by a run.

Run token

Enter the unique Run ID whose data you want to retrieve.

Format

Select the format in which you want to retrieve the details of the last ready data:

  • JSON

  • CSV

Other

Make an API Call

Performs an arbitrary authorized API call.

URL

Enter a path relative to https://www.parsehub.com/api. E.g. /v2/projects.

For the list of available endpoints, refer to the ParseHub API Documentation.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query string

Enter the request query string.

Body

Enter the body content for your API call.

Example - List Projects

The following API call returns all projects:

61f27532ccc56.png

Matches of the search can be found in the module's Output under Bundle > Body > Projects.

In our example, 1 project is returned:

61f27533c22da.png