GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - singlefileco/docspring-python: Python API Client for DocSpring

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.openapi-generator
.openapi-generator
 
 
docs
docs
 
 
docspring
docspring
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.openapi-generator-ignore
.openapi-generator-ignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
git_push.sh
git_push.sh
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 
test-requirements.txt
test-requirements.txt
 
 
tox.ini
tox.ini
 
 

Repository files navigation

docspring

DocSpring is a service that helps you fill out and sign PDF templates.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 1.3.2
  • Build package: com.docspring.codegen.DocSpringPythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import docspring 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import docspring

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import docspring
from docspring.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: api_token_basic
configuration = docspring.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = docspring.PDFApi(docspring.ApiClient(configuration))
template_id = 'tpl_000000000000000002' # str | 
add_fields_data = docspring.AddFieldsData() # AddFieldsData | 

try:
    # Add new fields to a Template
    api_response = api_instance.add_fields_to_template(template_id, add_fields_data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PDFApi->add_fields_to_template: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.docspring.com/api/v1

Class Method HTTP request Description
PDFApi add_fields_to_template PUT /templates/{template_id}/add_fields Add new fields to a Template
PDFApi batch_generate_pdf_v1 POST /templates/{template_id}/submissions/batch Generates multiple PDFs
PDFApi batch_generate_pdfs POST /submissions/batches Generates multiple PDFs
PDFApi combine_pdfs POST /combined_submissions?v=2 Merge submission PDFs, template PDFs, or custom files
PDFApi combine_submissions POST /combined_submissions Merge generated PDFs together
PDFApi copy_template POST /templates/{template_id}/copy Copy a Template
PDFApi create_custom_file_from_upload POST /custom_files Create a new custom file from a cached presign upload
PDFApi create_data_request_token POST /data_requests/{data_request_id}/tokens Creates a new data request token for form authentication
PDFApi create_folder POST /folders/ Create a folder
PDFApi create_html_template POST /templates?desc=html Create a new HTML template
PDFApi create_pdf_template POST /templates Create a new PDF template with a form POST file upload
PDFApi create_pdf_template_from_upload POST /templates?desc=cached_upload Create a new PDF template from a cached presign upload
PDFApi delete_folder DELETE /folders/{folder_id} Delete a folder
PDFApi expire_combined_submission DELETE /combined_submissions/{combined_submission_id} Expire a combined submission
PDFApi expire_submission DELETE /submissions/{submission_id} Expire a PDF submission
PDFApi generate_pdf POST /templates/{template_id}/submissions Generates a new PDF
PDFApi get_combined_submission GET /combined_submissions/{combined_submission_id} Check the status of a combined submission (merged PDFs)
PDFApi get_data_request GET /data_requests/{data_request_id} Look up a submission data request
PDFApi get_full_template GET /templates/{template_id}?full=true Fetch the full template attributes
PDFApi get_presign_url GET /uploads/presign Get a presigned URL so that you can upload a file to our AWS S3 bucket
PDFApi get_submission GET /submissions/{submission_id} Check the status of a PDF
PDFApi get_submission_batch GET /submissions/batches/{submission_batch_id} Check the status of a submission batch job
PDFApi get_template GET /templates/{template_id} Check the status of an uploaded template
PDFApi get_template_schema GET /templates/{template_id}/schema Fetch the JSON schema for a template
PDFApi list_folders GET /folders/ Get a list of all folders
PDFApi list_submissions GET /submissions List all submissions
PDFApi list_submissions_0 GET /templates/{template_id}/submissions List all submissions for a given template
PDFApi list_templates GET /templates Get a list of all templates
PDFApi move_folder_to_folder POST /folders/{folder_id}/move Move a folder
PDFApi move_template_to_folder POST /templates/{template_id}/move Move Template to folder
PDFApi rename_folder POST /folders/{folder_id}/rename Rename a folder
PDFApi test_authentication GET /authentication Test Authentication
PDFApi update_data_request PUT /data_requests/{data_request_id} Update a submission data request
PDFApi update_template PUT /templates/{template_id} Update a Template

Documentation For Models

  • AddFieldsData
  • AddFieldsTemplateResponse
  • AuthenticationError
  • AuthenticationSuccessResponse
  • CombinePdfsData
  • CombinedSubmission
  • CombinedSubmissionAction
  • CombinedSubmissionData
  • CopyTemplateData
  • CreateCombinedSubmissionResponse
  • CreateCustomFileData
  • CreateCustomFileResponse
  • CreateFolderData
  • CreateHtmlTemplateData
  • CreateSubmissionBatchResponse
  • CreateSubmissionBatchSubmissionsResponse
  • CreateSubmissionDataRequestData
  • CreateSubmissionDataRequestTokenResponse
  • CreateSubmissionDataRequestTokenResponseToken
  • CreateSubmissionResponse
  • CreateTemplateFromUploadData
  • CustomFile
  • Error
  • Folder
  • FoldersFolder
  • HtmlTemplateData
  • InvalidRequest
  • ListSubmissionsResponse
  • MoveFolderData
  • MoveTemplateData
  • PendingTemplate
  • RenameFolderData
  • Submission
  • SubmissionAction
  • SubmissionBatch
  • SubmissionBatchData
  • SubmissionData
  • SubmissionDataBatchRequest
  • SubmissionDataRequest
  • Template
  • Template1
  • Template1Defaults
  • TemplateData
  • TemplatestemplateIdaddFieldsFields
  • UpdateDataRequestResponse
  • UpdateSubmissionDataRequestData
  • UpdateTemplateData
  • UpdateTemplateResponse
  • UploadTemplateData
  • UploadTemplateDataDocument
  • UploadTemplateDataDocumentMetadata

Documentation For Authorization

api_token_basic

  • Type: HTTP basic authentication

Author

About

Python API Client for DocSpring

pypi.org/project/docspring/

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.