using the JS SDK, and the run ID, can I

using the JS SDK, and the run ID, can I fetch the dataset from that run? I'm having a hard time understanding the docs for this task
3 Replies
azzouzana
azzouzanaβ€’6mo ago
Hi πŸ‘‹ Yes you definitely can. First you load the apifyClient with your api key. Then you get the actor run by ID (See its doc) using the run(id) method This will return a RunClient(see its doc) that you can use to fetch its dataset by using the dataset()method
rival-black
rival-blackβ€’6mo ago
ok nice.. i'll give that a go thanks!
azzouzana
azzouzanaβ€’6mo ago
You're welcome πŸ™Œ

Did you find this page helpful?