Get started quickly using Cloudsto.re API with the Cloudsto.re SDK for various languages or platform. The SDK helps take the complexity out of coding by providing language specific objects for Cloudsto.re API services. The single, downloadable package includes the required Library and documentation. See under each language section for more details.
The following diagram provides a high-level overview of access to Cloudsto.re services with the Cloudsto.re SDKs.
Applications can access the Cloudsto.re Services directly through the Cloudst.re REST API Gateway Service, or alternatively using a Cloudsto.re SDK in one of the supported language or platform. Each SDK provides a programming interface for working with Cloudsto.re Services by wrapping a high-level layer around the low-level Cloudsto.re API calls. The SDK handles the HTTP(s) request via the API interface using the language specific high-level function calls.
Each of the Cloudsto.re SDKs provides important services to your application, including the following:
If the request is successful, service returns an HTTP 200 response code (OK). If the request is unsuccessful, service returns an HTTP error code and an error message.
Download Latest JavaScript SDK (Version 3 Feb 2019)
Download
<script type="text/javascript" src="lib/axios/dist/axios.standalone.js"></script> <script type="text/javascript" src="lib/CryptoJS/rollups/hmac-sha256.js"></script> <script type="text/javascript" src="lib/CryptoJS/rollups/sha256.js"></script> <script type="text/javascript" src="lib/CryptoJS/components/hmac.js"></script> <script type="text/javascript" src="lib/CryptoJS/components/enc-base64.js"></script> <script type="text/javascript" src="lib/url-template/url-template.js"></script> <script type="text/javascript" src="lib/apiGatewayCore/sigV4Client.js"></script> <script type="text/javascript" src="lib/apiGatewayCore/apiGatewayClient.js"></script> <script type="text/javascript" src="lib/apiGatewayCore/simpleHttpClient.js"></script> <script type="text/javascript" src="lib/apiGatewayCore/utils.js"></script> <script type="text/javascript" src="apigClient.js"></script>
var apigClient = apigClientFactory.newClient();
var body = { // This is where you define the body of the request, }; var additionalParams = { // If there are any unmodeled query parameters or headers that must be // sent with the request, add them here. headers: { param0: '', param1: '' }, queryParams: { param0: '', param1: '' } }; apigClient.methodName(null, body, additionalParams) .then(function(result){ // Add success callback code here. }).catch( function(result){ // Add error callback code here. });
Download Latest Android SDK (Version 1.0.0 Feb 2019)
Download
Note - The Android SDK is not compatible with Android 4.4 and earlier
If you use Android Studio, create a libs folder under your client app module and copy the required .jar file into this folder. Verify that the dependencies section in the module’s gradle file contains the following.
compile fileTree(include: ['*.jar'], dir: 'libs') compile fileTree(include: ['*.jar'], dir: 'app/libs')
Make sure no duplicated .jar files are declared.
ApiClientFactory factory = new ApiClientFactory(); // create a client final AODClient client = factory.build(AODClient.class); // Invoke your apikeyPost method Empty output = client.apikeyPost(); // you also have access to your API models Empty myModel = new Empty(); ```
Coming Soon …..
Coming Soon …….