import logging
import traceback

from flask_restplus import Api
from WeConnect_RestAPI import settings

log = logging.getLogger(__name__)

authorizations = {
    'apikey' : {
        'type' : 'apiKey',
        'in' : 'header',
        'name' : 'X-API-KEY'
    }
}

api = Api(version='1.0', title='We Connect API',
          description='Documentation of We Connect API', authorizations=authorizations)

import logging
import traceback

from flask_restplus import Api
from WeConnect_RestAPI import settings

log = logging.getLogger(__name__)

authorizations = {
    'apikey' : {
        'type' : 'apiKey',
        'in' : 'header',
        'name' : 'X-API-KEY'
    }
}

api = Api(version='1.0', title='We Connect API',
          description='Documentation of We Connect API', authorizations=authorizations)
