{"id":20157141,"url":"https://github.com/horeaporutiu/rest-api-tutorial-ibm-watson","last_synced_at":"2025-04-09T22:52:42.181Z","repository":{"id":138186447,"uuid":"111474859","full_name":"horeaporutiu/REST-API-Tutorial-IBM-Watson","owner":"horeaporutiu","description":"Code based on Youtube Tutorial (Link attached). Learn to use Watson conversation, language translation, and tone analyzer. - Discovery coming soon :)","archived":false,"fork":false,"pushed_at":"2018-01-26T01:12:49.000Z","size":894,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T22:52:37.085Z","etag":null,"topics":["language-translation","language-translator-api","node","tone-analyzer","tutorial","watson-api"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=XehI724C-GM\u0026index=3\u0026t=2s","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/horeaporutiu.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,"governance":null}},"created_at":"2017-11-20T23:39:37.000Z","updated_at":"2023-04-12T19:32:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca8cdccd-f683-48ce-b84a-1e72f68f6b99","html_url":"https://github.com/horeaporutiu/REST-API-Tutorial-IBM-Watson","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/horeaporutiu%2FREST-API-Tutorial-IBM-Watson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horeaporutiu%2FREST-API-Tutorial-IBM-Watson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horeaporutiu%2FREST-API-Tutorial-IBM-Watson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horeaporutiu%2FREST-API-Tutorial-IBM-Watson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horeaporutiu","download_url":"https://codeload.github.com/horeaporutiu/REST-API-Tutorial-IBM-Watson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125640,"owners_count":21051766,"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":["language-translation","language-translator-api","node","tone-analyzer","tutorial","watson-api"],"created_at":"2024-11-13T23:44:10.767Z","updated_at":"2025-04-09T22:52:42.153Z","avatar_url":"https://github.com/horeaporutiu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST API Tutorial - IBM Watson\n\nThis repo contains the code to use Watson conversation, tone analyzer, and language translation APIs. Please refer to \u003ca href=\"https://www.youtube.com/watch?v=BkVy1hDCcpo\u0026list=PLVztKpIRxvQXdcUdfC1G9YDXGgyTTpSyZ\"\u003eyoutube tutorials\u003c/a\u003e for full explanation of the code to use Watson APIs.\n\n## Simple to use \nBefore you get started, you'll need a couple things. \n1) \u003ca href=\"https://ibm.biz/BdjLxy\"\u003eFree IBM Cloud Account\u003c/a\u003e, to create Watson Service Credentials (Username and Passwords used to authenticate your API call)\n\n2) \u003ca href=\"https://www.npmjs.com/get-npm\"\u003eNPM\u003c/a\u003e (Node package Manager) \n\n3) Login to IBM Cloud Dashboard\n\n## Instant Access to Watson\n1) Create your credentials for the service you want to use (Language Translator and Tone Analyzer for this tutorial).\n\n![1H1HXM](https://i.makeagif.com/media/11-22-2017/1H1HXM.gif)\n\n2) Add your credentials by modifiying the 'Username and Password' variables at the top of either translate.js or tones.js\nbased on which API you want to use.\n\n![9NqBZy](https://i.makeagif.com/media/11-27-2017/9NqBZy.gif)\n\n## Install Dependencies\nIf you cloned the repository, to install all the required npm packages, run:\n``\nnpm install \n``\n\u003cbr\u003e\nOtherwise, run:\n``\nnpm install request\n``\nand then:\n``\nnpm install http\n``\n\n## Get the output\nTo see the output for the Language Translator API, add the credentials and run:\n``\nnode translate.js\n``\n\nTo see the output for the Tone Analyzer API, add the credentials and run:\n``\nnode tones.js\n``\n\n## Debugging\n1) If you get an error such as 'Error: Cannot find module 'request' simply run: \n``\nnpm install request\n``\n2) If you get an error such as 'Error: Cannot find module 'http' simply run: \n``\nnpm install http\n``\n3) If you get 404 error, usually the credentials are wrong. Check your credentials first, and if that doesn't work, try deleting the instance and then re-creating it. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoreaporutiu%2Frest-api-tutorial-ibm-watson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoreaporutiu%2Frest-api-tutorial-ibm-watson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoreaporutiu%2Frest-api-tutorial-ibm-watson/lists"}