Skip to content

Commit 5835f75

Browse files
Adjusted samples
1 parent b281aea commit 5835f75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sample-code/start_encode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def start_encode():
2727
:return: client object
2828
"""
2929

30-
client = qencode.client(API_KEY, api_url='https://api-qa.qencode.com/')
30+
client = qencode.client(API_KEY)
3131
if client.error:
3232
print('Error', client.message, sep=":", end="\n")
3333
raise SystemExit

sample-code/start_encode2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def start_encode():
5656
:return: client object
5757
"""
5858

59-
client = qencode.client(API_KEY, api_url='https://api-qa.qencode.com/')
59+
client = qencode.client(API_KEY)
6060
if client.error:
6161
print('Error', client.message, sep=":", end="\n")
6262
raise SystemExit

sample-code/start_encode3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def start_encode():
4949
:param api_url: string. not required
5050
:return: encode object
5151
"""
52-
client = qencode.client(API_KEY, api_url='https://api-qa.qencode.com/')
52+
client = qencode.client(API_KEY)
5353
if client.error:
5454
print('Error', client.message, sep=":", end="\n")
5555
raise SystemExit

0 commit comments

Comments
 (0)