Skip to content

Commit ec13f32

Browse files
committed
Update changelog
1 parent 9ff0d84 commit ec13f32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

API-REFERENCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ except Exception as err:
219219
```python
220220
def set_api_version(self, api_version = None)
221221
```
222-
It sets the the Carbone version requested. By default, it is calling the version `4` of Carbone.
222+
It sets the the Carbone version requested. By default, it is calling the version `5` of Carbone.
223223

224224
*Note:* You can only set a major version of carbone.
225225

@@ -230,7 +230,7 @@ import carbone_sdk
230230
csdk = carbone_sdk.CarboneSDK("your_access_token")
231231

232232
try:
233-
csdk.set_api_version("4")
233+
csdk.set_api_version("5")
234234
except Exception as err:
235235
print("Something went wrong: {0}".format(err))
236236
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import carbone_sdk
3333
# The access token can be passed as an argument to the constructor CarboneSDK
3434
# Or by the environment variable "CARBONE_TOKEN", use the command "export CARBONE_TOKEN=secret-token"
3535
csdk = carbone_sdk.CarboneSDK("secret-token")
36-
# Set API version (default : 4)
37-
csdk.set_api_version("4")
36+
# Set API version (default : 5)
37+
csdk.set_api_version("5")
3838
# Set API URL for Carbone On-Premise for example (default: "https://api.carbone.io")
3939
csdk.set_api_url("https://api.carbone.io")
4040

0 commit comments

Comments
 (0)