Skip to content

Commit 4327beb

Browse files
author
Nikola Yankov
committed
updated README.md
1 parent 61829e4 commit 4327beb

1 file changed

Lines changed: 59 additions & 3 deletions

File tree

README.md

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GroupDocs.Conversion Cloud SDK for .NET
2-
This repository contains GroupDocs.Conversion Cloud SDK for .NET source code. This SDK allows you to work with GroupDocs.Conversion Cloud REST APIs in your .NET applications quickly and easily.
2+
This repository contains GroupDocs.Conversion Cloud SDK for .NET source code. This SDK allows you to work with GroupDocs.Conversion Cloud REST APIs in your .NET applications.
33

44
## How to use the SDK?
55
The complete source code is available in this repository folder, you can either directly use it in your project via NuGet package manager. For more details, please visit our [documentation website](https://docs.groupdocs.cloud/display/conversioncloud/Available+SDKs#AvailableSDKs-.NET).
@@ -9,11 +9,67 @@ The complete source code is available in this repository folder, you can either
99
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json)
1010
- [StyleCop.MSBuild](https://www.nuget.org/packages/StyleCop.MSBuild)
1111

12-
NOTE: The DLLs included in the package may not be the latest version. We recommned using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
12+
NOTE: The DLLs included in the package may not be up to date. We recommended using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
1313
```
1414
Install-Package Newtonsoft.Json
1515
Install-Package StyleCop.MSBuild
1616
```
1717

18+
## Getting Started
19+
20+
```csharp
21+
using System;
22+
using System.Diagnostics;
23+
using GroupDocs.Conversion.Cloud.Sdk;
24+
using GroupDocs.Conversion.Cloud.Sdk.Api;
25+
using GroupDocs.Conversion.Cloud.Sdk.Model.Requests;
26+
27+
namespace Example
28+
{
29+
public class Example
30+
{
31+
public void Main()
32+
{
33+
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud/ (free registration is required).
34+
var configuration = new Configuration
35+
{
36+
AppSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
37+
AppKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
38+
};
39+
40+
var apiInstance = new ConversionApi(configuration);
41+
42+
try
43+
{
44+
var request = new GetAllPossibleConversionsRequest();
45+
46+
// Get supported file formats
47+
var response = ConversionApi.GetAllPossibleConversions(request);
48+
49+
foreach (var entry in response)
50+
{
51+
Debug.Print(string.Format("{0}: {1}", entry.SourceFileType,
52+
string.Join(",", entry.PossibleConversions));
53+
}
54+
}
55+
catch (Exception e)
56+
{
57+
Debug.Print("Exception when calling ConversionApi.GetAllPossibleConversions: " + e.Message);
58+
}
59+
}
60+
}
61+
}
62+
```
63+
64+
## Licensing
65+
All GroupDocs.Conversion for Cloud SDKs are licensed under [MIT License](LICENSE).
66+
67+
## Resources
68+
+ [**Website**](https://www.groupdocs.cloud)
69+
+ [**Product Home**](https://products.groupdocs.cloud/conversion/cloud)
70+
+ [**Documentation**](https://docs.groupdocs.cloud/display/conversioncloud/Home)
71+
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/conversion)
72+
+ [**Blog**](https://blog.groupdocs.cloud/category/groupdocs-conversion-cloud-product-family)
73+
1874
## Contact Us
19-
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).
75+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).

0 commit comments

Comments
 (0)