antinvestor_api_ocr 1.51.12 copy "antinvestor_api_ocr: ^1.51.12" to clipboard
antinvestor_api_ocr: ^1.51.12 copied to clipboard

Dart client library for Ant Investor Ocr Service - Optical character recognition and document processing

Ant Investor Ocr API - Dart Client #

pub package

Dart client library for the Ant Investor Ocr Service. Optical character recognition and document processing

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  antinvestor_ocr: ^1.0.0

Then run:

dart pub get

Usage #

import 'package:antinvestor_ocr/antinvestor_ocr.dart';
import 'package:connectrpc/connect.dart';

void main() async {
  final channel = ClientChannel('https://api.example.com');
  final client = OcrServiceClient(channel);

  // Use the client...

  await channel.shutdown();
}

Authentication #

All API calls require JWT authentication:

final channel = ClientChannel(
  'https://api.example.com',
  options: ChannelOptions(
    credentials: ChannelCredentials.secure(),
  ),
);

final client = OcrServiceClient(
  channel,
  interceptors: [
    (options) => options.mergedWith(
      CallOptions(metadata: {
        'authorization': 'Bearer your-jwt-token',
      }),
    ),
  ],
);

API Reference #

For detailed API documentation, see the generated documentation.

Contributing #

Contributions are welcome! Please see the main repository for guidelines.

License #

Copyright 2023-2024 Ant Investor Ltd

Licensed under the Apache License, Version 2.0. See LICENSE for details.

0
likes
50
points
351
downloads

Publisher

verified publisherantinvestor.com

Weekly Downloads

Dart client library for Ant Investor Ocr Service - Optical character recognition and document processing

Homepage
Repository (GitHub)
View/report issues

Topics

#grpc #protobuf #api-client #ocr

License

unknown (license)

Dependencies

antinvestor_api_common, connectrpc, fixnum, protobuf

More

Packages that depend on antinvestor_api_ocr