LibreTranslate

0.1.0

LibreTranslate API client for Swift.
wacumov/libretranslate

What's New

0.1.0

2022-10-30T15:41:37Z

LibreTranslate

LibreTranslate is a free and open source machine translation API.

Installation

let package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/wacumov/libretranslate.git", from: "0.1.0")
    ],
    ...
)

Usage

import LibreTranslate

let translator = Translator("https://libretranslate.de")
let translation = try await translator.translate("Hello", from: "en", to: "es")

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Nov 11 2022 07:57:04 GMT-0500 (GMT-05:00)