{"id":22085664,"url":"https://github.com/nexmo/nexmo-msft-translator-node","last_synced_at":"2026-03-19T21:39:31.786Z","repository":{"id":38838180,"uuid":"150745004","full_name":"Nexmo/nexmo-msft-translator-node","owner":"Nexmo","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-20T03:56:45.000Z","size":12,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-01-29T05:25:11.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nexmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-28T13:30:31.000Z","updated_at":"2023-03-16T21:31:55.000Z","dependencies_parsed_at":"2025-01-29T05:34:36.868Z","dependency_job_id":null,"html_url":"https://github.com/Nexmo/nexmo-msft-translator-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnexmo-msft-translator-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnexmo-msft-translator-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnexmo-msft-translator-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnexmo-msft-translator-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nexmo","download_url":"https://codeload.github.com/Nexmo/nexmo-msft-translator-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175481,"owners_count":20572787,"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":"2024-12-01T01:15:50.375Z","updated_at":"2026-01-05T05:37:59.272Z","avatar_url":"https://github.com/Nexmo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexmo - Microsoft Translator - Node Examples\n\nThis repo contains example code to help you with combining Nexmo APIs and the Microsoft Translator service.\n\n## Setting up the Examples\n\n### Setup Nexmo Account and Application\n\n1. Signup/in to a [Nexmo account](https://dashboard.nexmo.com/sign-up) and setup a [number](https://dashboard.nexmo.com/your-numbers).\n2. Create an application with the [Nexmo dashboard](https://dashboard.nexmo.com/voice/your-applications) or [Nexmo CLI](https://github.com/Nexmo/nexmo-cli).\n```sh\n\u003e nexmo app:create \"Nexmo MSFT Translator Examples\" https://example.com/answer https://example.com/event --keyfile=private.key\n```\n3. Rename `constants.js-example` to `constants.js`\n4. Update `NEXMO_API_KEY`, `NEXMO_API_SECRET`, `NEXMO_APPLICATION_ID`, `NEXMO_APPLICATION_PRIVATE_KEY`, `FROM_NUMBER` in `constants.js` with your account details.\n\n### Setting up Azure and Translator Text API\n\n1. Follow [these directions](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/translator-text-how-to-signup) to create an Azure account enable Translator Text API.\n2. Update `MSFT_API_KEY` in `constants.js` with your account details.\n\n### Run Examples\n\n1. Update the `TO_NUMBER` with your mobile phone number.\n2. Run either example:\n\n```sh\n\u003e node examples/send-message-translation.js\n{ message_uuid: '00000000-0000-0000-0000-000000000000' }\n\u003e node examples/send-sms-translation.js\n{ 'message-count': '1',\n  messages:\n   [ { to: '##########',\n       'message-id': '############',\n       status: '0',\n       'remaining-balance': '$$',\n       'message-price': '$$',\n       network: '#####' } ] }\n```\n\n## Support\nIf you have any questions, send an email to devrel@nexmo.com.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fnexmo-msft-translator-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexmo%2Fnexmo-msft-translator-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fnexmo-msft-translator-node/lists"}