class GoogleTranslate::Client

Defined in:

google_translate/client.cr

Constant Summary

USER_AGENT = "Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.9.1.16) Gecko/20110429 Iceweasel/3.5.16 (like Firefox/3.5.1623123)"

Pretend being Firefox :)

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def translate(source_lang : String, target_lang : String, query : String) : Translation #

[View source]