from apify import Actor from apify_client import ApifyClient async def main(): async with Actor: # Get the value of the actor input actor_input = await Actor.get_input() or {} apify_client = ApifyClient('apify_api_************************') dataset = apify_client.dataset('Sh*************zz') dataset_items = dataset.list_items().items i = 1 for item in dataset_items: print(i) i += 1
datasetId
(and not the actorId
)