Skip to content

Commit 85cacc3

Browse files
committed
Update Readme.
1 parent e909e77 commit 85cacc3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ To begin with Aspose.Cells Cloud, here's what you need to do:
2020
## Convert Excel to PDF Using Python
2121

2222
```python
23-
import os
24-
import sys
2523
from asposecellscloud.apis.cells_api import CellsApi
2624
from asposecellscloud.models import *
2725
from asposecellscloud.requests import *
2826

29-
cellsApi = CellsApi(os.getenv('CellsCloudClientId'),os.getenv('CellsCloudClientSecret'),"v3.0",os.getenv('CellsCloudApiBaseUrl'))
27+
CellsCloudClientId = "...." # get from https://dashboard.aspose.cloud/#/applications
28+
CellsCloudClientSecret = "...." # get from https://dashboard.aspose.cloud/#/applications
3029

30+
cellsApi = CellsApi(CellsCloudClientId,CellsCloudClientSecret)
3131
cellsApi.convert_spreadsheet(ConvertSpreadsheetRequest( 'EmployeeSalesSummary.xlsx', 'pdf') , local_outpath = "EmployeeSalesSummary.pdf")
32-
3332
```
3433

3534
## Support file format

0 commit comments

Comments
 (0)