- 100% test coverage
- httpx
- pydantic
- attrs
- click
You can install Signhost Api Python Client via pip from PyPI:
$ pip install signhost-api-python-clientimportiofromsignhostimportmodelsfromsignhost.clientimportDefaultClientsignhost=DefaultClient(api_key="str", app_key="str")
transaction=models.Transaction(signers=[models.Signer(email="str")])
transaction=signhost.transaction_init(transaction=transaction)
signhost.transaction_file_put(
transaction.Id,
"file.pdf",
io.BytesIO(b"test"),
)
transaction=signhost.transaction_start(transaction.Id)
print("Sign the contract over here", transaction.Signers[0].SignUrl)
signhost.transaction_get(transaction.Id)
signhost.transaction_file_get(transaction.Id, "file.pdf")
signhost.receipt_get(transaction.Id)fromsignhost.clientimportAsyncClientasyncwithAsyncClient(api_key="str", app_key="str") assignhost:
signhost.transaction_get("xyz")Please see the Command-line Reference for details.
Contributions are very welcome. To learn more, see the Contributor Guide.
Distributed under the terms of the MIT license, Signhost Api Python Client is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.
This project was initiated by dok.legal and was generated from @cjolowicz's Hypermodern Python Cookiecutter template.