Skip to content

SDK for integrating with the Smartling API. The Smartling API allows developers to upload language specific resource files and download the translations of those files for easy integration within their application.

Notifications You must be signed in to change notification settings

Smartling/api-sdk-python

Repository files navigation

This repository contains the Python SDK for accessing the Smartling Translation API.

Smartling is cloud-based software and translation services solution prioritizes process automation and intelligent collaboration. The Smartling File Translation API allows developers to seamlessly internationalize their website or application by automating the translation and integration of content. Developers can upload resource files and download the translated file(s) in a locale of their choosing. There are options allowing to use professional translation, community translation or machine translation.

For a full description of the Smartling File Translation API, please read File API section of the docs at: https://api-reference.smartling.com/ This SDK covers several of Smartling APIs: Jobs Job Batches V2 Strings Context Estimates Account & Projects Files Tags

Quick start

Clone the repo: git clone git@github.com:Smartling/api-sdk-python.git. You may start with examples in ./example directory. Set your credentials as described in smartlingApiSdk/Credentials.py file.

There are quite extensive examples, each SDK has own examples covering almost every API call.

You can start with Strings API example:

from smartlingApiSdk.example.StringsExample import example example()

or try other examples:

from smartlingApiSdk.example.FilesSimpleExample import example from smartlingApiSdk.example.FilesExample import example from smartlingApiSdk.example.AccountProjectsExample import example from smartlingApiSdk.example.ContextExample import example from smartlingApiSdk.example.EstimatesExample import example from smartlingApiSdk.example.JobsExample import example from smartlingApiSdk.example.JobBatchesV2Example import example from smartlingApiSdk.example.TagsExample import example from smartlingApiSdk.example.MultipleAccountsExample import example from smartlingApiSdk.example.MultipleProjectsExample import example

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, the File Translation API SDK will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the follow format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major
  • New additions without breaking backward compatibility bumps the minor
  • Bug fixes and misc changes bump the patch

For more information on SemVer, please visit http://semver.org/.

Bug tracker

Have a bug? Please create an issue here on GitHub!

https://github.com/Smartling/api-sdk-python/issues

Authors

Anatoly Artamonov

Alex Koval

Greg Jones

Copyright and license

Copyright 2012-2021 Smartling, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

SDK for integrating with the Smartling API. The Smartling API allows developers to upload language specific resource files and download the translations of those files for easy integration within their application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages