Skip to main content

No project description provided

Project description

For more information, please read our documentation.

Installation

  • pip install inscribe

Usage

import inscribe
import json

# API Authentication
api = inscribe.Client(api_key="YOUR_API_KEY", user_id="YOUR_USER_ID")

# Create customer folder
customer = api.create_customer(customer_name="new")
customer_id = customer['data']['id']

# Upload document
doc_obj = open("YOUR_FILE.pdf", "rb")
document = api.upload_document(customer_id=customer_id, document=doc_obj)
document_id = document['result_urls'][0]['document_id']

# Check document
result = api.retrieve_document_results(customer_id=customer_id, document_id=document_id)
print(json.dumps(result, indent=2))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inscribe-2.2.3.tar.gz (5.4 kB view hashes)

Uploaded source

Built Distribution

inscribe-2.2.3-py3-none-any.whl (5.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page