Skip to content

Commit 23095a7

Browse files
author
Sam McHardy
committed
Add document for system status
1 parent 728fe48 commit 23095a7

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/general.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ General Endpoints
1515
1616
time_res = client.get_server_time()
1717
18+
`Get system status <binance.html#binance.client.Client.get_system_status>`_
19+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20+
21+
.. code:: python
22+
23+
status = client.get_system_status()
24+
25+
Returns
26+
27+
.. code-block:: python
28+
29+
{
30+
"status": 0, # 0: normal,1:system maintenance
31+
"msg": "normal" # normal or System maintenance.
32+
}
33+
1834
`Get Exchange Info <binance.html#binance.client.Client.get_exchange_info>`_
1935
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2036

0 commit comments

Comments
 (0)