6.0.0 • Published 5 years ago

@datafire/import_schedule v6.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/import_schedule

Client library for import.io

Installation and Usage

npm install --save @datafire/import_schedule
let import_schedule = require('@datafire/import_schedule').create({
  api_key: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

extractor.get

Get the list of schedules for all your extractors

import_schedule.extractor.get(null, context)

Input

This action has no parameters

Output

extractor.post

Schedule and extractor to run at a specific time

import_schedule.extractor.post({
  "Schedule Request Body": {
    "extractorId": "",
    "interval": ""
  }
}, context)

Input

Output

extractor.extractorId.delete

Delete an existing schedule

import_schedule.extractor.extractorId.delete({
  "extractorId": ""
}, context)

Input

  • input object
    • extractorId required string: the id of the extractor with a schedule

Output

Output schema unknown

extractor.extractorId.get

Get the schedule of a particular extractor

import_schedule.extractor.extractorId.get({
  "extractorId": ""
}, context)

Input

  • input object
    • extractorId required string: the id of the extractor with a schedule

Output

Definitions

APIError

  • APIError object
    • code integer: Internal error code
    • error string: (deprecated) A message containing a brief description of the error
    • message string: A message containing a brief description of the error

CrawlRun

  • CrawlRun object
    • extractorId string
    • failedUrlCount integer
    • guid string
    • rowCount integer
    • runtimeConfigId string
    • startedAt integer
    • state string
    • stoppedAt integer
    • successUrlCount integer
    • totalUrlCount integer
    • urlListId string

Inputs

  • Inputs object
    • Example Input string
    • _url required string

ObjectStoreSearchResult

  • ObjectStoreSearchResult object
    • hits object
      • hits array
        • items object
          • _id string
          • _score integer
          • _type string
          • fields CrawlRun
      • total integer
    • timed_out boolean
    • took integer

QueryResponse

  • QueryResponse object
    • error string
    • exceptionType string
    • extractorData object
    • pageData object
    • runtimeConfigId string
    • sequenceNumber integer
    • timestamp integer
    • url string

Report

  • Report object
    • configId string
    • guid string
    • name string
    • published boolean
    • reportId string
    • status string
    • summary object
    • type string

ReportRun

  • ReportRun object
    • autoPublish boolean
    • guid string
    • latestConfigId string
    • name string
    • type string

Schedule

  • Schedule object
    • extractorId string
    • interval string
    • intervalData object
      • minutes string
      • time string
      • type string
    • nextRunAt integer
    • ownerId string
    • startTimestamp integer

ScheduleRequest

  • ScheduleRequest object
    • extractorId required string
    • interval required string
    • startTimestamp integer
6.0.0

5 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago