from ceic_api_client.configuration import Configuration
from ceic_api_client.api_client import ApiClient
from ceic_api_client.apis.dictionary_api import DictionaryApi
access_token = "ENTER YOUR API KEY HERE"
proxy_url = "PROXY URL HERE"
proxy_username = "PROXY USERNAME HERE (Optional)"
proxy_password = "PROXY PASSWORD HERE (Optional)"
configuration = Configuration()
# Setting field values
configuration.proxy_url = proxy_url
configuration.proxy_username = proxy_username
configuration.proxy_password = proxy_password
# OR calling the set_proxy method
configuration.set_proxy(proxy_url, proxy_username, proxy_password)
api_client = ApiClient(configuration=configuration)
dictionary_api = DictionaryApi(api_client, token=access_token)