Python Script – Get Dataset Lists

import time
import slamby_sdk
from slamby_sdk.rest import ApiException
from pprint import pprint

client = slamby_sdk.ApiClient("https://europe.slamby.com/demo/")
client.set_default_header("Authorization", "Slamby s3cr3t")

dataset_api = slamby_sdk.DataSetApi(client)

for dataset in dataset_api.get_data_sets():
    print(dataset.name)

Download our SDKs from Github.com/Slamby

Leave a Reply

Your email address will not be published. Required fields are marked *