https://github.com/zubairjammu786/googletranslateapi
An unofficial Google translate API built within python using requests library.
https://github.com/zubairjammu786/googletranslateapi
google google-translate google-translate-api google-translate-free-api googletrans googletranslate googletranslateapi googletranslator python-3 python-requests python-script python3 requests-module webscrapping webscrapping-python
Last synced: 7 months ago
JSON representation
An unofficial Google translate API built within python using requests library.
- Host: GitHub
- URL: https://github.com/zubairjammu786/googletranslateapi
- Owner: zubairjammu786
- Created: 2024-02-16T05:58:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-16T07:24:53.000Z (over 2 years ago)
- Last Synced: 2025-04-09T07:26:04.708Z (about 1 year ago)
- Topics: google, google-translate, google-translate-api, google-translate-free-api, googletrans, googletranslate, googletranslateapi, googletranslator, python-3, python-requests, python-script, python3, requests-module, webscrapping, webscrapping-python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
git clone https://github.com/zubairjammu786/googletranslateapi.git
```
2. Navigate to the project directory:
```bash
cd googletranslateapi
```
3. Install the required dependencies:
```bash
pip install requests
```
4. Run the script:
```bash
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.