Firestore Import avatar
Firestore Import
Try for free

No credit card required

View all Actors
Firestore Import

Firestore Import

drobnikj/firestore-import
Try for free

No credit card required

Imports dataset items to Firestone DB.

It imports data from Apify dataset to Firestore DB.

Usage

It can be used from any Apify actor or task webhook, even from Legacy PhantomJS Crawler task Finish webhook URL.

Webhook URL: https://api.apify.com/v2/acts/drobnikj~firestore-import/runs?token=<yourApifyApiToken>

Actor/Task webhook

Set up a webhook with following payload template:

1{
2    "datasetId": {{resource.defaultDatasetId}},
3    "apiKey": "<firestoreApiKey>",
4    "authDomain": "<firestoreAuthDomain>",
5    "projectId": "<firestoreProjectId>",
6    "collectionName": "<firestoreCollectionName>"
7}

Actor

You can call Apify.call() with following options.

1await Apify.call('drobnikj/firestore-import', {
2    "datasetId": "<datasetId>",
3    "apiKey": "<firestoreApiKey>",
4    "authDomain": "<firestoreAuthDomain>",
5    "projectId": "<firestoreProjectId>",
6    "collectionName": "<firestoreCollectionName>" 
7})

Legacy PhantomJS Crawler task with Finish webhook URL

Set up Finish webhook data with the following JSON object:

1{
2    "apiKey": "<firestoreApiKey>",
3    "authDomain": "<firestoreAuthDomain>",
4    "projectId": "<firestoreProjectId>",
5    "collectionName": "<firestoreCollectionName>"
6}
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • Created in Jun 2018
  • Modified 6 months ago