Skip to content

Commit 792e9e0

Browse files
author
Laurynas Butkus
committed
Add proxy example
1 parent a178193 commit 792e9e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ import convertapi
3333
convertapi.api_secret = 'your-api-secret'
3434
```
3535

36+
#### Proxy configuration
37+
38+
If you need to use proxy, you specify it using `HTTPS_PROXY` environment variable when running your script.
39+
40+
Example:
41+
42+
```
43+
CONVERT_API_SECRET=secret HTTPS_PROXY=https://user:pass@127.0.0.1:9000/ python convert_word_to_pdf_and_png.py
44+
```
45+
3646
### File conversion
3747

3848
Example to convert file to PDF. All supported formats and options can be found

0 commit comments

Comments
 (0)