Popularity
3.9
Declining
Activity
0.0
Stable
13
2
2
Programming language: Crystal
License: MIT License
Tags:
Third-party APIs
Latest version: v0.2.1
google_translate alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view google_translate alternatives based on common mentions on social networks and blogs.
-
discordcr
Minimalist Discord library for Crystal. (Still WIP, but usable) -
twitter-crystal
A library to access the Twitter API using Crystal -
TelegramBot
(deprecated) see https://github.com/protoncr/tourmaline instead -
crystal_slack
Parse Slack slash commands or send incoming web hooks from Crystal -
gitlab.cr
Gitlab.cr is a GitLab API wrapper written by Crystal -
open_exchange_rates
A library for Open Exchange Rates API -
google_maps_api
Crystal library for the Google Maps API. -
crystal-consul
Crystal client for Consul (http://www.consul.io/) -
aws-signer.cr
This library signs your HTTP requests using AWS v4 -
mollie.cr
Mollie Payments API client for Crystal http://www.mollie.com -
twilio.cr
A Crystal shard for communicating with the Twilio API -
GDAX
๐ GDAX REST and WebSocket API wrapper to trade blockchain cryptocurrencies like bitcoin, Litecoin and Ethereum. -
soundcloud-crystal
A library to access the SoundCloud API using Crystal -
bugsnag.cr
bugsnag exception notifier written in crystal. Supports sidekiq.cr, kemal, HTTP::Server. -
web_finger
A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal. -
crystal-connpass
:anchor: A Crystal wrapper for the Connpass API -
fantasy_football_nerd_api
Crystal library for Fantasy Football Nerd API
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of google_translate or a related project?
README
Crystal GoogleTranslate 
Crystal client for GoogleTranslate
Installation
Add this to your application's shard.yml
:
dependencies:
google_translate:
github: greyblake/crystal-google_translate
Usage
require "google_translate"
Example
The following code translates german word tanzen
with a typo(double n) and prints the result:
client = GoogleTranslate::Client.new
tr = client.translate("de", "en", "tanzenn")
puts "#{tr.source_lang} -> #{tr.target_lang}"
puts "Query: #{tr.query}"
puts "Corrected query: #{tr.corrected_query}"
puts "Text: #{tr.text}"
tr.variants.each do |word_class, words|
puts word_class
words.each do |word|
puts " #{word}"
end
end
Output:
de -> en
Query: tanzenn
Corrected query: tanzen
Text: dance
verb
dance
hop
spin
bob
foot
Development
To run specs:
crystal spec
Contributors
- greyblake Sergey Potapov - creator, maintainer