Overview
The Language Weaver Software Development Kit provides an API for Language Weaver services, both Cloud and Edge. Using the SDK, you can easily build applications that integrate with Language Weaver.
You will be able to easily switch between Cloud and Edge products, without code changes, by simply using environment variables. By default, the SDK is using the Cloud product.
The SDK offers the following features for both products, Cloud and Edge:
- Retrieve your active subscription's language pairs
- Retrieve your dictionaries
- Perform text translations
- Perform file translations
- Perform batch file translations
Generating API Credentials
In order to use the SDK, you need a valid set of API credentials. These are used for authentication.
Language Weaver
You need to provide the clientId and clientSecret. You can create a new set of API
credentials here.
Language Weaver Edge
You need to provide the API Key as the clientId and leave the clientSecret blank. To obtain your API key, log
in to the Language Weaver Edge Web GUI as an admin user and click to [Username] > My Account, where the API key is
displayed. You can easily change your API key on that page as well.