11 lines
284 B
Python
11 lines
284 B
Python
from __future__ import print_function
|
|
import brevo_python
|
|
|
|
def setup_brevo(config):
|
|
|
|
# Configure API key authorization: api-key
|
|
configuration = brevo_python.Configuration()
|
|
configuration.api_key['api-key'] = config['BREVO_API_KEY']
|
|
|
|
return configuration
|