Giter Site home page Giter Site logo

yousign-api-client-python's Introduction

Gitter

Python Client for Yousign API

Description

This client allows to use the Yousign Soap API through Python.

Install

You need to have a version of Python (2.6 or 2.7) running on your device, in order to execute the following programs.

Configuration

You can copy the file '~/config/config.ini.dist' in '~/config/config.ini' and change it to enter your settings. Then set your configuration with these parameters:

* login : Your login (email address)
* password : Your password
* apikey : Your API Key 
* environment : demo or prod
* isEncryptedPassword : true if you use an encrypted password, false if not.    

You need to hash your password. Here is the hash calculation : sha1(sha1(clearPassword)+sha1(clearPassword)).
This calcul is done to secure your password.
If clearPassword = "test123", password ="6bc498d4dc47ec2177ff42151139da01c1660ddf".

Examples

You can find some examples about the way the client works in ~/examples. First, run the file connection.py to verify your access.
Here, you can also set your user parameters in each Python file.
First, comment the line c = ysApi.ApiClient('../config/config.ini').
Then, uncomment these one and put your user information.

 * c = ysApi.ApiClient(None, username,  
                   password, => (encrypted),  
                   apikey, 
                   environment 

For other examples, Modify information in each of these Python, then you can run these following programs.

 * signature_init : Initialize a signature process.
 * signature_downloadFile : Get signed files associated with a signature process from an idDemand or a token.
 * signature_details : Get information (status, name, file info) about a signature process from an idDemand or a token.
 * signature_list : Get information of all your signature processes.
 * signature_alert : Alert signers who have not signed document(s) yet.
 * signature_cancel : Cancel a signature process which is not finished yet.
 * archive : Archive document for 10 years with metadatas. Metadatas are used to find easily one (or several) archive.
 * getArchive : Get archive file identified by its iua
 * getCompleteArchive : Get complete archive file identified by its iua.
 * updateCosigner : Update cosigner info who have not signed document(s) yet.

yousign-api-client-python's People

Contributors

apinsard avatar dermoumi avatar hemache avatar rapha777 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.