Due to limitations of the web version of google translate, this API
does not guarantee that the library would work properly at all times.
(so please use this library if you don’t care about stability.)

This is a great deal for everyone! (up to 2x times faster in my test) If
you want to get googletrans faster you should install
hyper package. Googletrans will
automatically detect if hyper is installed and if so, it will be used
for http networking.

src – The language of the source text.
The value should be one of the language codes listed in googletrans.LANGUAGES
or one of the language names listed in googletrans.LANGCODES.
If a language is not specified,
the system will attempt to identify the source language automatically.

translate.google.com uses a token to authorize the requests. If you are
not Google, you do have this token and will have to pay for use.
This class is the result of reverse engineering on the obfuscated and
minified code used by Google to generate such token.

The token is based on a seed which is updated once per hour and on the
text that will be translated.
Both are combined - by some strange math - in order to generate a final
token (e.g. 744915.856682) which is used by the API to validate the
request.

This operation will cause an additional request to get an initial
token from translate.google.com.