{"id":18310049,"url":"https://github.com/wilsonsergio2500/aws-watson-lambda","last_synced_at":"2025-04-09T11:43:43.007Z","repository":{"id":90289289,"uuid":"128227756","full_name":"wilsonsergio2500/aws-watson-lambda","owner":"wilsonsergio2500","description":".NET IBM Watson + Lambda Integration","archived":false,"fork":false,"pushed_at":"2018-04-05T19:27:47.000Z","size":80,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T05:43:14.088Z","etag":null,"topics":["aws-lambda","ibm-watson-services","lambda","netcore2","personality-insights","tone-analyzer"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/wilsonsergio2500.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-05T15:41:27.000Z","updated_at":"2020-05-30T16:37:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"37696a8f-eae8-49c5-9517-7605ff81914e","html_url":"https://github.com/wilsonsergio2500/aws-watson-lambda","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/wilsonsergio2500%2Faws-watson-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsergio2500%2Faws-watson-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsergio2500%2Faws-watson-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonsergio2500%2Faws-watson-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsonsergio2500","download_url":"https://codeload.github.com/wilsonsergio2500/aws-watson-lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248033348,"owners_count":21036776,"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":["aws-lambda","ibm-watson-services","lambda","netcore2","personality-insights","tone-analyzer"],"created_at":"2024-11-05T16:13:04.856Z","updated_at":"2025-04-09T11:43:42.977Z","avatar_url":"https://github.com/wilsonsergio2500.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-watson-lambda\n.NET IBM Watson + Lambda Integration\n\n## About\n###### Ready to go .net core 2 lambda application for IBM Watson. Currently supporting two main services - Personal Insights, and Tone Analyzer.\n\n## Getting Started\n###### Install .NET AWS Toolkit\n###### Request API access @ https://console.bluemix.net and generate proper credentials for Personal Insights and Tone Analyzer APIs\n###### When deploying the lambda ensure to enter the obtained API credentials, as such:\n\n![install-lambda](https://user-images.githubusercontent.com/2171533/38385962-e4d90c9e-38d8-11e8-974f-bd1d7805fbe7.PNG)\n\n###### Create AWS API Gateway to target your created Lamba Functions.\n###### In the method of the API Gateway -\u003e Go To Integration Request -\u003e Body Mapping Templates\n###### Add content type \"application/json\"\n###### If the method is \"GET\" add the following template\n```\n{\n\n    \"method\": \"$context.httpMethod\",\n\n    \"body\" : {\n    #foreach($queryParam in $input.params().querystring.keySet())\n    \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n    #end\n  },  \n\n    \"headers\": {\n\n        #foreach($param in $input.params().header.keySet())\n\n        \"$param\": \"$util.escapeJavaScript($input.params().header.get($param))\"\n\n        #if($foreach.hasNext),#end\n\n        #end\n\n    }\n\n}\n```\n###### If the method is \"POST\" then the following template\n```\n{\n\n    \"method\": \"$context.httpMethod\",\n\n    \"body\" : $input.json('$'),\n\n    \"headers\": {\n\n        #foreach($param in $input.params().header.keySet())\n\n        \"$param\": \"$util.escapeJavaScript($input.params().header.get($param))\"\n\n        #if($foreach.hasNext),#end\n\n        #end\n\n    }\n\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonsergio2500%2Faws-watson-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsonsergio2500%2Faws-watson-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonsergio2500%2Faws-watson-lambda/lists"}