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: Tue Oct 22 2024 05:39:59 GMT-0900 (Hawaii-Aleutian Daylight Time)