Cloud
from datamulehub import cloud
Retrieve saved work. Query results are saved for seven days.
List
page = cloud.list("athena", limit=50)
print(page["items"])
Returns job IDs. Pass cursor=page["next_cursor"] to get the next page, if there is one.
Get
Check a saved job's details and status.
job = cloud.get(job_id)
Download
Download a completed job's results as Parquet files.
cloud.download(job_id, output_dir="results")
List and get cost $0.00001 per successful call. Downloads have the usual download charge; the query is not charged again.