SDK overview

Updated at:

This topic explains how to use the SDKs for multiple programming languages.

SDK introduction

The OCR Document Understanding SDK wraps all APIs from the 2022-12-29 version. It uses an access key (AccessKey) for authentication and includes features like automatic signing. This simplifies calling different custom models through the API. Alibaba Cloud Developer hosts SDKs for popular programming languages, providing repository URLs, installation commands, and release notes. For more information, see Developer Center. To obtain an AccessKey, see Obtain an AccessKey.

The OCR Document Understanding SDK supports popular programming languages, including Java, Node.js, Python, C++, C#, Go, and PHP. Follow the SDK quick start to get started, and use the SDK usage and debugging guide to make API calls. The guide also includes a demo project to help you quickly build an OCR Document Understanding application.

Language

SDK quick start

Usage and debugging

Java

Java SDK

Java SDK Usage Guide

Node.js

Node.js SDK

Node.js SDK Usage Guide

Python

Python SDK

Python SDK Usage Guide

C#

C# SDK

C# SDK Usage Guide

C++

C++ SDK

C++ SDK Usage Guide

Go

Go SDK

Go SDK Usage Guide

PHP

PHP SDK

PHP SDK Usage Guide

SDK quick start

Click the SDK quick start link for a language in the table above to find its overview, prerequisites, package repository URL, source code repository URL, installation instructions, and a complete code sample.

SDK usage and debugging

Click the SDK usage and debugging guide link for a language in the table above to configure API parameters, such as TaskId and Content, and make API calls online. You can also view the SDK code sample for that language.