def _get_headers(params):
 return {'Authorization': 'OAuth {oauth}'.format(oauth=params['api_key'])}

def _get_headers ( params ) : return { 'Authorization' : 'OAuth {oauth}' . format ( oauth = params [ 'api_key' ] ) }
return http headers required .