coingecko-openapi-client
Version:
Coingecko openapi client
53 lines (34 loc) • 1.2 kB
Markdown
# coingecko_openapi_client.PingApi
All URIs are relative to *https://api.coingecko.com/api/v3*
Method | HTTP request | Description
------------- | ------------- | -------------
[**ping_get**](PingApi.md#ping_get) | **GET** /ping | Check API server status
# **ping_get**
> ping_get()
Check API server status
Check API server status
### Example
```python
from __future__ import print_function
import time
import coingecko_openapi_client
from coingecko_openapi_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = coingecko_openapi_client.PingApi()
try:
# Check API server status
api_instance.ping_get()
except ApiException as e:
print("Exception when calling PingApi->ping_get: %s\n" % e)
```
### Parameters
This endpoint does not need any parameter.
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)