Popularity
1.5
Declining
Activity
0.0
Stable
9
1
1
Monthly Downloads: 0
Programming language: Elixir
License: MIT License
Tags:
Third Party APIs
bing_translator alternatives and similar packages
Based on the "Third Party APIs" category.
Alternatively, view bing_translator alternatives based on common mentions on social networks and blogs.
-
google-cloud
Elixir client libraries for accessing Google APIs. -
gringotts
A complete payment library for Elixir and Phoenix Framework -
statix
Fast and reliable Elixir client for StatsD-compatible servers -
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS. -
commerce_billing
A payment processing library for Elixir -
sendgrid
Create and send composable emails with Elixir and SendGrid. -
mailchimp
A basic Elixir wrapper for version 3 of the MailChimp API -
diplomat
Elixir library for interacting with Google's Cloud Datastore -
sparkpost
SparkPost client library for Elixir https://developers.sparkpost.com -
elixtagram
:camera: Instagram API client for the Elixir language (elixir-lang) -
forcex
Elixir library for the Force.com / Salesforce / SFDC REST API -
google_sheets
Elixir library for fetching Google Spreadsheet data in CSV format -
pay_pal
:money_with_wings: PayPal REST API client for the Elixir language (elixir-lang) -
amazon_product_advertising_client
An Amazon Product Advertising API client for Elixir -
cashier
Cashier is an Elixir library that aims to be an easy to use payment gateway, whilst offering the fault tolerance and scalability benefits of being built on top of Erlang/OTP -
elixir_ipfs_api
The Elixir library that is used to communicate with the IPFS REST endpoint. -
dogstatsd
An Elixir client for DogStatsd https://www.datadoghq.com/
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of bing_translator or a related project?
README
Bing Translator, Microsoft Translator
A simple Elixir interface to Azure's translation API
Installation
If available in Hex, the package can be installed as:
Add bing_translator to your list of dependencies in mix.exs
:
def deps do
[{:bing_translator, "~> 1.0"}]
end
Ensure bing_translator is started before your application:
def application do
[applications: [:bing_translator]]
end
Getting a Subscription Key
To sign up for the free tier (as of this writing), do the following:
Usage
spanish = BingTranslator.translate(text: "Hello. This will be translated!", from: "en", to: "es")
# without :from for auto language detection
spanish = BingTranslator.translate(text: "Hello. This will be translated!", to: "es")
locale = BingTranslator.detect(text: "Hello. This will be translated!") # => "en"
languages = BingTranslator.supported_language_codes # => ["ar", "bs-Latn", "bg", "ca", "zh-CHS",,,,,]
# The speak method calls a text-to-speech interface in the supplied language.
# It does not translate the text. Format can be 'audio/mp3' or 'audio/wav'
audio = BingTranslator.speak(text: "Hello. This will be spoken!", language: :en, format: "audio/mp3", options: "MaxQuality")
Configuration
The default behaviour is to configure using the application environment:
In config/config.exs, add:
config :bing_translator,
subscription_key: "Your-Subscription-Key",
http_client_options: [] # [ssl: [{:versions, [:"tlsv1.2"]}]]
Or using environment variable
BING_TRANSLATOR_SUBSCRIPTION_KEY=Your-Subscription-Key mix run