Available SDKs Aspose.Storage Cloud SDKs
Aspose.Storage for Cloud is a modern REST oriented API, that allows easy integration into existing systems.
Why use an SDK?
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project.
SDK benefits
Our supported SDKs are 100% tested and out of the box running. These SDKs are open source and have an MIT license. You can use them, and even customize them for absolutely free of charge.
Supported SDKs
.NET
Aspose.Storage Cloud SDK for .NET allows you to incorporate Aspose.Storage Cloud services in your .NET applications quickly and easily.
Install Aspose.Storage Cloud SDK for .NET via NuGet .
Copy
PM > Install - Package Aspose . Storage - Cloud
Complete source code of Aspose.Storage Cloud SDK for .Net is freely available on GitHub .
Java
Aspose.Storage Cloud SDK for Java allows you to incorporate Aspose.Storage Cloud services in your Java applications quickly and easily.
You can directly include the source code of Aspose.Storage Cloud SDK for Java in your own project, the source code is available on GitHub .
Alternatively, you can use Maven to include in your Java project. Below are the steps for Maven.
Aspose Maven Repository
Copy
< repositories >
< repository >
< id > aspose - maven - repository </ id >
< name > Aspose Maven Repository </ name >
< url > http :
</ repository >
</ repositories >
Maven Dependency
Copy
< dependency >
< groupId > com . aspose </ groupId >
< artifactId > aspose - storage - cloud </ artifactId >
< version > 1 . 0 . 0 </ version >
</ dependency >
Get Sources and Javadocs
Maven
Copy
$ mvn dependency : sources
$ mvn dependency : resolve - Dclassifier = javadoc
Eclipse IDE
Copy
$ mvn eclipse : eclipse - DdownloadSources = true
$ mvn eclipse : eclipse - DdownloadSources = true - DdownloadJavadocs = false
pom.xml
Copy
< build >
< plugins >
< plugin >
< groupId > org . apache . maven . plugins </ groupId >
< artifactId > maven - eclipse - plugin </ artifactId >
< configuration >
< downloadSources > true </ downloadSources >
< downloadJavadocs > false </ downloadJavadocs >
</ configuration >
</ plugin >
</ plugins >
</ build >
Direct Download
http://repository.aspose.cloud/repo/com/aspose/aspose-storage-cloud/
Complete source code of Aspose.Storage Cloud SDK for Jave is freely available on GitHub .
PHP
Aspose.Storage Cloud SDK for PHP allows you to incorporate Aspose.Storage Cloud services in your PHP applications quickly and easily.
Aspose.Storage Cloud SDK for PHP can be installed using Composer.
Copy
require: {
"aspose/storage-sdk-php" : "dev-master"
}
Complete source code of Aspose.Storage Cloud SDK for PHP is freely available on GitHub .
Ruby
Aspose.Storage Cloud SDK for Ruby allows you to incorporate Aspose.Storage Cloud services in your Ruby applications quickly and easily.
Aspose.Storage Cloud SDK for PHP can be installed using RubyGems .
Copy
gem install aspose_storage_cloud
Complete source code of Aspose.Storage Cloud SDK for Ruby is freely available on GitHub .
Python
Aspose.Storage Cloud SDK for Python allows you to incorporate Aspose.Storage Cloud services in your python applications quickly and easily.
Aspose.Storage Cloud SDK for Python can be installed using PyPi package manager.
Copy
pip install asposestoragecloud
Direct Method
Download the latest package from GitHub , unpack and run following command
Copy
python setup . py install
Complete source code of Aspose.Storage Cloud SDK for Python is freely available on GitHub .
Please see the Aspose.Storage Cloud SDK for Python Examples here .
In order to start using Aspose for Cloud APIs in your applications, SDKs provides two separate classes for setting API Keys and Base Product URI.
Setting Application Info
Once you Sign Up with Aspose for Cloud, you are entitled to create various applications under your account. A default App is created upon creation of your Aspose for Cloud Account, however, you can create more Aspose for Cloud Apps if you want. Each Aspose for Cloud App is identified by unique App SID and App Key. You need to properly sign every Aspose for Cloud URI with your private App Key. SDKs hide all the details of signing the URI and you only need to initialize AsposeApp class’s static variables as shown below:
C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud
//Initialize string variables to hold App SID and App Key values
public String APP_SID = "appSid";
public String API_KEY = "apiKey";
Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud
//Initialize String variables to hold App SID and App Key values
public final String APP_SID = "appSid";
public final String API_KEY = "apiKey";
PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
public static $appSID = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx';
public static $apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
#Get App key and App SID from https://cloud.aspose.com
AsposeApp.app_key_and_sid("xxxx", "xxxx")
Node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
// config values for api client
var config = {
'apiKey' : null,
'appSid' : null,
'baseURI' : 'http://api.aspose.cloud/v1.1',
'debug' : false
};
Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
apiKey = "" # sepcify App Key
appSid = "" # sepcify App SID
storage_apiClient = asposestoragecloud.ApiClient.ApiClient(apiKey, appSid, True)
Setting Host Info
By Host Info, we mean the main Aspose for Cloud API host URI along with version. For example, at the time of creating this page, the host info is https://api.aspose.cloud/v1.1 , where https://api.aspose.cloud/ is the API host and v1.1 is the version. To set this information in SDKs, the following simple statement will serve the purpose:
C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud
public static string BASEPATH = "https://api.aspose.cloud/v1.1";
Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud
String basePath = "https://api.aspose.cloud/v1.1";
PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
public static $baseProductUri = 'https://api.aspose.cloud/v1.1';
Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
@scheme = 'https'
@host = 'api.aspose.cloud'
@base_path = '/v1/'
Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-total/Aspose.Total-for-Cloud/
apiServer='https://api.aspose.cloud/v1.1'
Once you have provided the above information, you can use all the other features of SDKs covered in the next sections.