Universal API
Specification
Details
Setting
Parameter name
Default Value
Quick-Start
require 'mindee'
# Init a new client
mindee_client = Mindee::Client.new(api_key: 'my-api-key')
# Load a file from disk
input_source = mindee_client.source_from_path('/path/to/the/file.ext')
# Initialize a custom endpoint for this product
custom_endpoint = mindee_client.create_endpoint(
account_name: 'my-account',
endpoint_name: 'my-endpoint',
version: 'my-version'
)
# Parse the file
result = mindee_client.parse(
input_source,
Mindee::Product::Universal::Universal,
endpoint: custom_endpoint
# Note: On compatible APIs, you can run this HTTP call synchronously by setting `enqueue: false`
)
# Print a full summary of the parsed data in RST format
puts result.documentUniversal Endpoints
Field Types
Universal Fields
Universal List Field
Universal Object Field
StringField
Attributes
Fields
Last updated
Was this helpful?

