S3¶
Loads data from S3 bucket.
API Reference
pip install ibm-cos-sdk
from spyder_index.readers import S3Reader
S3Reader(bucket, ibm_api_key_id, ibm_service_instance_id, s3_endpoint_url)
Initialize a S3Reader.
bucket
(str): The name of the S3 bucket.ibm_api_key_id
(str): The IBM Cloud API key ID for accessing the bucket.ibm_service_instance_id
(str): The service instance ID for the IBM COS.s3_endpoint_url
(str): The endpoint URL for the S3 service.
load_data()
Loads data from the specified directory.