FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge branch 'feature/proxy_docs' into develop · NeutralCode/python-binance@a8dbdbd · GitHub

Commit a8dbdbd

Browse files
Sam McHardy
committed
Merge branch 'feature/proxy_docs' into develop
2 parents 0cf5679 + 3af6a9f commit a8dbdbd

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎docs/overview.rst‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,23 @@ Some calls have a higher weight than others especially if a call returns informa
6262
Read the `official Binance documentation <https://github.com/binance-exchange/binance-official-api-docs`_ for specific information.
6363

6464
.. image:: https://analytics-pixel.appspot.com/UA-111417213-1/github/python-binance/docs/overview?pixel
65+
66+
Proxy Settings
67+
--------------
68+
69+
`python-binance` uses the `requests <http://docs.python-requests.org/en/master/>`_ library which means you can set environment variable for your proxy if required.
70+
Check out the `requests Proxies documentation <http://docs.python-requests.org/en/master/user/advanced/#proxies>`_ for further details.
71+
72+
An example for Linux environments from the `requests` Proxies documentation is as follows.
73+
74+
.. code-block:: bash
75+
76+
$ export HTTP_PROXY="http://10.10.1.10:3128"
77+
$ export HTTPS_PROXY="http://10.10.1.10:1080"
78+
79+
For Windows environments
80+
81+
.. code-block:: bash
82+
83+
C:\>set HTTP_PROXY=http://10.10.1.10:3128
84+
C:\>set HTTPS_PROXY=http://10.10.1.10:1080

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL