Actor picture

DownloadKvStoreZip

vaclavrut/downloadkvstorezip

If you need to download all items from certain KV store and don't want to click on each item, you can use this actor which will create a zip file from all items in KV, zip them and you can easily download only one file. On the input, you can specify numberOfItemsInZipFromKv, if you want only 10,100... of files from the KV, or keep it null/delete this input param to download them all. The KV you want to download must be under your account. If the KV contains the INPUT, this item is skipped.

To run the actor, you'll need an Apify account. Simply create a new task for the actor by clicking the button below, modify the actor input configuration, click Run and get your results.

API

To run the actor from your code, send a HTTP POST request to the following API endpoint:

https://api.apify.com/v2/acts/vaclavrut~downloadkvstorezip/runs?token=<YOUR_API_TOKEN>

The POST payload including its Content-Type header is passed as INPUT to the actor (usually application/json). The actor is started with the default options; you can override them using various URL query parameters.

Example
curl https://api.apify.com/v2/acts/vaclavrut~downloadkvstorezip/runs?token=<YOUR_API_TOKEN> \
-d '{
  "storeId": "storeId",
  "numberOfItemsInZipFromKv": 50 //or null
}' \
-H 'Content-Type: application/json' \
-X POST

To use the API, you'll need to replace <YOUR_API_TOKEN> with the API token of your Apify account (view here).

For more information, view the list of actor's API endpoints or the full API reference.