![]() list_uni_currencies () print ( api_response ) except GateApiException as ex : print ( "Gate api exception, label: %s, message: %s \n " % ( ex. EarnUniApi ( api_client ) try : # List currencies for lending api_response = api_instance. ApiClient ( configuration ) # Create an instance of the API class api_instance = gate_api. Configuration ( host = "" ) api_client = gate_api. Please follow the installation procedure and then run the following: from _future_ import print_function import gate_api from gate_api.exceptions import ApiException, GateApiException # Defining the host is optional and defaults to # See configuration.py for a list of all supported configuration parameters. Then import the package: import gate_api Getting Started (or sudo python setup.py install to install the package for all users) Then import the package: import gate_api Setuptools You can install directly using: pip install -user gate-api Python 2.7 and 3.4 Installation
0 Comments
Leave a Reply. |