{"id":24568908,"url":"https://github.com/bitliner/google-translate-api-nodejs-client","last_synced_at":"2025-04-22T17:23:19.407Z","repository":{"id":29224286,"uuid":"32755995","full_name":"bitliner/google-translate-api-nodejs-client","owner":"bitliner","description":"Just a client for Google Translate API","archived":false,"fork":false,"pushed_at":"2018-01-04T14:36:57.000Z","size":1031,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T17:23:00.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitliner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-23T20:07:02.000Z","updated_at":"2023-03-08T03:10:01.000Z","dependencies_parsed_at":"2022-08-31T22:10:57.943Z","dependency_job_id":null,"html_url":"https://github.com/bitliner/google-translate-api-nodejs-client","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fgoogle-translate-api-nodejs-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fgoogle-translate-api-nodejs-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fgoogle-translate-api-nodejs-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fgoogle-translate-api-nodejs-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitliner","download_url":"https://codeload.github.com/bitliner/google-translate-api-nodejs-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285870,"owners_count":21405323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-23T14:55:44.208Z","updated_at":"2025-04-22T17:23:19.346Z","avatar_url":"https://github.com/bitliner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# google-translate-api-nodejs-client\n\nJust a client for Google Translate API\n\nCompatible with NodeJS 6 (and with Google Cloud functions)\n\n\n## Usage\n\n```\n\nvar GoogleTranslateApi=require('google-translate-api-nodejs-client');\n\nnew GoogleTranslateApi({\n  API_KEY:'...'\n})\n  .translate({\n    source:'en',\n    target:'ge',\n    text:'...text is here...'\n  }, function(err,translation){\n  \n    // translation is a string representing the output translation\n    // original response would be in html, this client converts the html to a proper text string\t\n\n  });\n```\n\n## Check available language\n\n```\ncd google-translate-api-nodejs-client\nGOOGLE_TRANSLATE_API_KEY=... node availableLanguages.js\n```\n\n## TODO\n\n- [X] support async/await style\n- [X] validate input languages (according to [List of supported languages](https://cloud.google.com/translate/docs/languages)) - extractable from API\n- [ ] add language detection in case 'from' language is not specified\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitliner%2Fgoogle-translate-api-nodejs-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitliner%2Fgoogle-translate-api-nodejs-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitliner%2Fgoogle-translate-api-nodejs-client/lists"}