Import.io User Guide

Retrieving extractor details


Use the following example code to retrieve the basic information about an extractor. The example uses the curl and jq commands, which can be readily applied to other programming languages such as (Java, Python, Perl, etc).

To retrieve the basic information about an extractor, set $EXTRACTOR_ID and $IMPORT_IO_API_KEY to your specific extractor GUID and API key, then use the following API request:

import.io $ curl -X GET -s "https://store.import.io/store/extractor/$EXTRACTOR_ID?_apikey=$IMPORT_IO_API_KEY" | jq .

 

The JSON output in the API response looks something like this:

{

 "_meta": {

   "timestamp": 1488398705971,

   "lastEditorGuid": "d1100850-863b-4e0f-9fa0-5fbcd44db427",

   "ownerGuid": "00a451ae-c38d-4752-a329-389b37cfc0aa",

   "creatorGuid": "00a451ae-c38d-4752-a329-389b37cfc0aa",

   "creationTimestamp": 1487031762391

 },

 "guid": "8560e178-e21d-4fea-b0e4-b65ea4320714",

 "name": "yelp.com-details",

 "fields": [

   {

   "id": "5b476a28-0056-4fcb-93fc-2068487b6700",

   "name": "name",

   "captureLink": false,

   "type": "TEXT"

   },

   {

   "id": "9c017ad7-ac85-453d-971e-c865ad386f16",

   "name": "reviews",

   "captureLink": false,

   "type": "AUTO"

   },

   {

   "id": "0010bd3a-5e02-463d-ab08-8f0bda4e92c3",

   "name": "cuisine",

   "captureLink": false,

   "type": "AUTO"

   }

 ],

 "latestConfigId": "9f56c8ae-5768-49b1-8fcf-697dc63db379",

 "training": "61edd0ba-6e80-4b34-b6fc-45c1730afce0",

 "urlList": "0c2e6446-923e-452f-9356-f68edc8347ff"

}