powered by
Save ECOS API key for the current session. To set it permanently, please add the following line to your .Renvrion file:
ECOS_API_KEY = YOUR API KEY
ecos.setKey(api_key)ecos.printKey()
ecos.printKey()
No return value, called to set api key
A string specifying ECOS API key
## Set API Key for the current session ecos.setKey("your_api_key") ## Check API key ecos.printKey()
Run the code above in your browser using DataLab