You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57-16Lines changed: 57 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
# GroupDocs.Conversion Cloud Ruby SDK
2
-
Ruby gem for communicating with the GroupDocs.Conversion Cloud API
2
+
3
+
This repository contains GroupDocs.Conversion Cloud SDK for Ruby source code. This SDK has been developed to help you get started with using our document conversion REST API, allowing to seamlessly convert your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, HTML, CAD, raster images and many more.
To add dependency to your app copy following into your Gemfile and run `bundle install`:
13
14
15
+
```ruby
16
+
# Load the gem
17
+
require'groupdocs_conversion_cloud'
14
18
```
15
-
gem "groupdocs_conversion_cloud", "~> 25.6"
16
-
```
19
+
### Create an account
20
+
Creating an account is very simple. Go to Dashboard to create a free account.
21
+
We’re using Single Sign On across our websites, therefore, if you already have an account with our services, you can use it to also access the [Dashboard](https://dashboard.groupdocs.cloud).
22
+
23
+
### Create an API client app
24
+
Before you can make any requests to GroupDocs Cloud API you need to get a Client Id and a Client Secret. This will be used to invoke GroupDocs Cloud API. You can get it by creating a new [Application](https://dashboard.groupdocs.cloud/applications).
17
25
18
-
## Getting Started
26
+
## Convert document
19
27
20
-
Please follow the [installation](#installation) procedure and then run the following code:
21
28
```ruby
22
29
# Load the gem
23
30
require'groupdocs_conversion_cloud'
24
31
25
-
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
26
-
app_sid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
27
-
app_key="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
32
+
# Get your clientId and clientSecret at https://dashboard.groupdocs.cloud (free registration is required).
33
+
client_id="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
34
+
client_secret="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
28
35
29
36
# Create instance of the API class
30
-
api =GroupDocsConversionCloud::InfoApi.from_keys(app_sid, app_key)
0 commit comments