Skip to content

An unofficial Google translate API built within python using requests library.

Notifications You must be signed in to change notification settings

zubairjammu786/googletranslateapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Google Translate API

This Python script provides a simple interface to Google Translate API, allowing you to translate text between different languages.

Dependencies

  • Python 3.x
  • requests library

Usage

  1. Clone the repository:

    git clone https://github.com/zubairjammu786/googletranslateapi.git
  2. Navigate to the project directory:

    cd googletranslateapi
  3. Install the required dependencies:

    pip install requests
  4. Run the script:

    python translate.py
  5. Follow the on-screen instructions to enter the source language, target language, and text to translate.

  6. Enter language prefixes such as en for English, ur for Urdu not full name.

Disclaimer

This is not an official API or script from Google. We suggest you to buy it from Google Cloud.