Title: Add more information to the Gather REST API request demos & Docs · Issue #27 · Bandwidth/python-bandwidth · GitHub
Open Graph Title: Add more information to the Gather REST API request demos & Docs · Issue #27 · Bandwidth/python-bandwidth
X Title: Add more information to the Gather REST API request demos & Docs · Issue #27 · Bandwidth/python-bandwidth
Description: In order to combine an audio request to the Gather, please use the prompt value of the gather request This would look something like: prompt = voice_api.build_sentence(sentence = "Hello from Bandwidth, please press some digits") gather_i...
Open Graph Description: In order to combine an audio request to the Gather, please use the prompt value of the gather request This would look something like: prompt = voice_api.build_sentence(sentence = "Hello from Bandwi...
X Description: In order to combine an audio request to the Gather, please use the prompt value of the gather request This would look something like: prompt = voice_api.build_sentence(sentence = "Hello from B...
Opengraph URL: https://github.com/Bandwidth/python-bandwidth/issues/27
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add more information to the Gather REST API request demos \u0026 Docs","articleBody":"In order to combine an audio request to the Gather, please use the `prompt` value of the [gather request](https://dev.bandwidth.com/ap-docs/methods/calls/postCallsCallIdGather.html)\r\n\r\nThis would look something like:\r\n\r\n```python\r\nprompt = voice_api.build_sentence(sentence = \"Hello from Bandwidth, please press some digits\")\r\ngather_id = voice_api.create_call_gather(call_id, prompt = prompt);\r\n```\r\n\r\nWhere the `voice_api.build_sentence` let's you construct the prompt. If you're using audio playback, there is a similar method `build_audio_playback` that would be used for the prompt instead.\r\n\r\nSee the [transfer](https://github.com/Bandwidth/python-bandwidth/blob/master/bandwidth/voice/client_module.py#L699) docs for how an example could look.\r\n\r\nIt could also be worth adding the `prompt` value directly in the param list instead of relying on `**kwargs`, no real opinion here.\r\n\r\n### Todo\r\n\r\n- [ ] Add example to the Gather documentation for [`sentence`](https://github.com/Bandwidth/python-bandwidth/blob/master/bandwidth/voice/client_module.py#L99)\r\n- [ ] Add example to the Gather documentation for [`playAudio`](https://github.com/Bandwidth/python-bandwidth/blob/master/bandwidth/voice/client_module.py#L136)","author":{"url":"https://github.com/dtolb","@type":"Person","name":"dtolb"},"datePublished":"2018-07-02T19:43:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/27/python-bandwidth/issues/27"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:55777ed3-d8d7-e535-c4ed-08d579247993 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAAA:16BB7B:17D820D:20A874D:697341BB |
| html-safe-nonce | 2aed85e7634dc375a3520cd1b2dccbc150b49bf5b4ddd548af443693944a296a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUFBOjE2QkI3QjoxN0Q4MjBEOjIwQTg3NEQ6Njk3MzQxQkIiLCJ2aXNpdG9yX2lkIjoiNjgyNTI4NDc4ODQzMzQwNDM0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6ac7b0a395ec6fe4c978d73c0207ecc6b28ea7e3c17f453b9b5a9d594d045427 |
| hovercard-subject-tag | issue:337639194 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Bandwidth/python-bandwidth/27/issue_layout |
| twitter:image | https://opengraph.githubassets.com/194d1cc57f4c77e155e5e58fded0aa443269fe8f0b960ce32f5dde6ed020fda9/Bandwidth/python-bandwidth/issues/27 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/194d1cc57f4c77e155e5e58fded0aa443269fe8f0b960ce32f5dde6ed020fda9/Bandwidth/python-bandwidth/issues/27 |
| og:image:alt | In order to combine an audio request to the Gather, please use the prompt value of the gather request This would look something like: prompt = voice_api.build_sentence(sentence = "Hello from Bandwi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dtolb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 574266c5e0389fb19fcea86ddb6d5b0008f148ada57d7a37ec4c90a19caee8f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/Bandwidth/python-bandwidth git https://github.com/Bandwidth/python-bandwidth.git |
| octolytics-dimension-user_id | 20689391 |
| octolytics-dimension-user_login | Bandwidth |
| octolytics-dimension-repository_id | 71250663 |
| octolytics-dimension-repository_nwo | Bandwidth/python-bandwidth |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 71250663 |
| octolytics-dimension-repository_network_root_nwo | Bandwidth/python-bandwidth |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3c64ddf9c1ec6ebf99c7b6faf0c61676d36f64c0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width