{"id":22085636,"url":"https://github.com/nexmo/vonage-python-flask","last_synced_at":"2025-08-03T13:15:42.967Z","repository":{"id":66173077,"uuid":"315430188","full_name":"Nexmo/vonage-python-flask","owner":"Nexmo","description":"Skeleton application for a 5 minute demo showing SMS and Voice together","archived":false,"fork":false,"pushed_at":"2021-03-04T03:51:59.000Z","size":6,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"0.x","last_synced_at":"2025-01-29T05:25:02.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-11-23T20:16:29.000Z","updated_at":"2023-06-24T08:29:58.000Z","dependencies_parsed_at":"2023-02-20T23:15:24.033Z","dependency_job_id":null,"html_url":"https://github.com/Nexmo/vonage-python-flask","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%2Fvonage-python-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fvonage-python-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fvonage-python-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fvonage-python-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nexmo","download_url":"https://codeload.github.com/Nexmo/vonage-python-flask/tar.gz/refs/heads/0.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175480,"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:26.490Z","updated_at":"2025-03-23T22:16:15.494Z","avatar_url":"https://github.com/Nexmo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vonage Client Extension for Flask\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\n\u003cimg src=\"https://developer.nexmo.com/assets/images/Vonage_Nexmo.svg\" height=\"48px\" alt=\"Nexmo is now known as Vonage\" /\u003e\n\nThis is the Vonage API Python client extension for use with Flask.\nTo use this, you'll need a Vonage account. Sign up [for free at nexmo.com][signup].\n\n**This bundle is currently in development/beta status, so there may be bugs**\n\n * [Installation](#installation)\n * [Usage](#usage)\n * [Contributing](#contributing) \n\n## Installation\n\nFor the lastest released version, you can install the extension using pip:\n\n```console\n$ pip install flask_vonage\n```\n\nIf you would like the lasted development version, you can install directly from Github:\n\n```console\n$ pip install git+git+https://github.com/nexmo/vonage-python-flask=flask_vonage\n```\n\n### Configuration\n\nThis extension will pull configuration values from the Flask application config.\n\nYou can set the following configuration keys:\n\n* `VONAGE_API_KEY` - Your Vonage API Key\n* `VONAGE_API_SECRET` - Your Vonage API Secret\n* `VONAGE_API_SIGNATURE_SECRET` - Your Vonage Signature secret for signed SMS\n* `VONAGE_API_SIGNATURE_METHOD` - Signature hashing method from your Dashboard\n* `VONAGE_APPLICATION_ID` - A Vonage Application ID\n* `VONAGE_PRIVATE_KEY` - Path the the matching Application private key, or a string containing the private key\n\nYou can then fill in the needed credentials from your [Vonage Dashboard][dashboard].\n\n```python\nfrom flask import Flask\nfrom flask_vonage import Vonage\n\napp = Flask(__name__)\napp.config.update(\n    VONAGE_API_KEY=\"your_key\",\n    VONAGE_API_SECRET=\"your_secret\"\n)\nvonage = Vonage(app)\n```\n\n## Usage\n\nThis bundle takes care of all the client creation needed for making the Vonage\nclient, and handles the boilerplate for accessing our APIs. All you need to do\nis add your credentials and any other info like Vonage Application ID to your\nconfig. You can pull then call the generated object and get the base client or\nany associated API objects automatically.\n\n```python\nfrom flask import Flask\nfrom flask_vonage import Vonage\n\napp = Flask(__name__)\napp.config.update(\n    VONAGE_API_KEY=\"your_key\",\n    VONAGE_API_SECRET=\"your_secret\"\n)\nvonage = Vonage(app)\n\n@app.route(\"/\")\ndef hello():\n    res = vonage.sms.send_message({\n        \"from\": \"15556660001\",\n        \"to\": \"155577700001\",\n        \"text\": \"This was sent using the Vonage Flask extension\"\n    })\n    print(res)\n    return '', 204\n\nif __name__ == \"__main__\":\n    app.run()\n```\n\n[signup]: https://dashboard.nexmo.com/sign-up?utm_source=DEV_REL\u0026utm_medium=github\u0026utm_campaign=php-symfony-bundle\n[dashboard]: https://dashboard.nexmo.com?utm_source=DEV_REL\u0026utm_medium=github\u0026utm_campaign=php-symfony-bundles\n[issues]: https://github.com/nexmo/vonage-python-flask/issues\n[pulls]: https://github.com/nexmo/vonage-python-flask/pulls\n\n\n\n## Contributing\n\nWe ❤️ contributions from everyone! [Bug reports](https://github.com/nexmo/vonage-python-flask/issues), [bug fixes](https://github.com/nexmo/vonage-python-flask/pulls) and feedback on the application is always appreciated. Look at the [Contributor Guidelines](https://github.com/nexmo/vonage-python-flask/blob/master/CONTRIBUTING.md) for more information and please follow the [GitHub Flow](https://guides.github.com/introduction/flow/index.html).\n\n## License\n\nThis projet is under the [MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fvonage-python-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexmo%2Fvonage-python-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fvonage-python-flask/lists"}