{"id":19640168,"url":"https://github.com/gearplug/gupshup-python","last_synced_at":"2026-06-12T12:31:09.594Z","repository":{"id":227695590,"uuid":"771874181","full_name":"GearPlug/gupshup-python","owner":"GearPlug","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-18T18:30:06.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-26T22:44:37.201Z","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/GearPlug.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":"2024-03-14T05:33:08.000Z","updated_at":"2024-03-14T05:34:05.000Z","dependencies_parsed_at":"2024-03-18T20:01:32.090Z","dependency_job_id":"d1aa241a-8ae6-49b9-aa8f-78c2e5339850","html_url":"https://github.com/GearPlug/gupshup-python","commit_stats":null,"previous_names":["gearplug/gupshup-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GearPlug/gupshup-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fgupshup-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fgupshup-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fgupshup-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fgupshup-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GearPlug","download_url":"https://codeload.github.com/GearPlug/gupshup-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fgupshup-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34245217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-11T14:04:56.334Z","updated_at":"2026-06-12T12:31:09.566Z","avatar_url":"https://github.com/GearPlug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# gupshup-python\n![](https://img.shields.io/badge/version-0.1.1-success) ![](https://img.shields.io/badge/Python-3.8%20|%203.9%20|%203.10%20|%203.11-4B8BBE?logo=python\u0026logoColor=white)  \n\n*gupshup-python* is an API wrapper for Gupshup, written in Python.\n## Installing\n```\npip install gupshup-python\n```\n### Usage\n```python\nfrom gupshup.client import Client\nclient = Client(apikey='YOUR_API_KEY', app_name='YOUR_APP_NAME')\n```\n\n###Actions for get data\nThese are the actions that the library allows you to perform to send messages by WhatsApp through Gupshup.\n\n- **Get Templates app info**\n```python\nclient.get_templates_app()\n# Returns a json with a list of the templates created for the application in Gupshup..\n```\n\n- **Get Variables For Template**\n```python\nclient.get_variables_for_template()\n# Returns a list with all the variables configured for each of the templates.\n```\n\n- **Send Templates Message**\n```python\ndata = {\n    \"source\": 975846622,\n    \"destination\": 12368431,\n    \"template\": {\n        \"id\": \"5f2449fd-e4d6-4d02-9647-e46a1b4635a4\",\n        \"params\": [\n            \"Test\", \"New\", 123\n        ]\n    }\n}\nclient.send_templates_msg(data)\n# Allows you to send a message through the Gupshup API.\n# You must establish the source and destination and additionally the id of the template to use.\n# The params will depend on the number of variables you have configured in the template.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fgupshup-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearplug%2Fgupshup-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fgupshup-python/lists"}