All URIs are relative to https://api-testnet.bybit.com
| Method | HTTP request | Description |
|---|---|---|
| common_get | GET /v2/public/time | Get bybit server time. |
object common_get()
Get bybit server time.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CommonApi()
try:
# Get bybit server time.
api_response = api_instance.common_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling CommonApi->common_get: %s\n" % e)This endpoint does not need any parameter.
object
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]