Learn R Programming

translate (version 0.1.2)

google.url: Generate an API URL.

Description

Generate an API URL.

Usage

google.url(method = NULL, query = NULL, source = NULL, target = NULL, key = get.key())

Arguments

method
One of "translate" (default), "detect", "languages"
query
The text to invoke against
source
The source language, e.g. "en"
target
The target language, e.g. "de"
key
The API key

Value

An API URL