Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 456 Bytes
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.DefaultApi()
echo = 'echo_example' # str | A string to echo back. (optional)
try:
api_response = api_instance.echo(echo=echo)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->echo: %s\n" % e)