DatasetClient <Data>
Hierarchy
- ResourceClient
- DatasetClient
Index
Properties
apifyClient
baseUrl
httpClient
optionalid
optionalparams
resourcePath
optionalsafeId
url
Methods
delete
Returns Promise<void>
downloadItems
Unlike
listItems
which returns a PaginationList with an array of individual dataset items,downloadItems
returns the items serialized to the provided format. https://docs.apify.com/api/v2#/reference/datasets/item-collection/get-itemsParameters
format: DownloadItemsFormat
options: DatasetClientDownloadItemsOptions = {}
Returns Promise<Buffer>
get
Returns Promise<undefined | Dataset>
listItems
Parameters
options: DatasetClientListItemOptions = {}
Returns Promise<PaginatedList<Data>>
pushItems
Parameters
items: string | string[] | Data | Data[]
Returns Promise<void>
update
Parameters
newFields: DatasetClientUpdateOptions
Returns Promise<Dataset>
https://docs.apify.com/api/v2#/reference/datasets/dataset/delete-dataset