Using the Boto SDK
Using the Boto SDK with the CSO API requires a slight modification: setting the S3 endpoint. Other minor variations are outlined.
Note: For detailed information about the functional differences between the S3 API and the CSO API, see the IBM Cloud Object Storage System™ Cloud Storage Object API 2.5 Development
Guide. It also includes the subset of S3 API features the CSO API supports.
For detailed information on SDK classes and methods, see the Boto SDK API Reference.
All examples use Boto SDK 2.38.
An IBM Cloud Object Storage System™ IBM Cloud Object Storage Vault and S3 Bucket are synonymous.
Some sections refer to home directories. The user’s home directory vary per platform:
| OS | Location |
|---|---|
| Linux | /home/{username}
~/ |
| Windows 7 | %USERPROFILE%\ |
| Mac OS X | /Users/{username} |
For simplicity, the examples assume a Unix/Linux development environment is used.