EchosignAccount

class EchosignAccount(access_token, **kwargs)

Saves OAuth Information for connecting to Echosign

access_token

The OAuth Access token to use for authenticating to Echosign

user_id

The ID of the user to specify as the API caller, if not provided the caller is inferred from the token

user_email

The email of the user to specify as the API caller, if not provided the caller is inferred from the token

api_access_point

The API endpoint used as a base for all API calls

get_agreements(query=None)

Gets all agreements for the EchosignAccount

Keyword Arguments:
 query – (str) A search query to filter results by

Returns: A list of Agreement objects

get_library_documents()

Gets all Library Documents for the EchosignAccount

Returns: A list of Agreement objects

headers(content_type='application/json')

Return headers using account information

Parameters:content_type – The Content-Type to use in the request headers. Defaults to application/json

Returns: A dict of headers