{"id":24118880,"url":"https://github.com/10mohi6/slack-webhook-python","last_synced_at":"2025-09-18T08:31:19.348Z","repository":{"id":53067159,"uuid":"209281909","full_name":"10mohi6/slack-webhook-python","owner":"10mohi6","description":"slack-webhook is a python client library for slack api Incoming Webhooks on Python 3.6 and above.","archived":false,"fork":false,"pushed_at":"2021-12-15T14:48:53.000Z","size":8420,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-10T12:47:40.008Z","etag":null,"topics":["api","python","slack","webhooks"],"latest_commit_sha":null,"homepage":"","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/10mohi6.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}},"created_at":"2019-09-18T10:32:02.000Z","updated_at":"2021-12-15T14:48:56.000Z","dependencies_parsed_at":"2022-09-19T08:20:49.650Z","dependency_job_id":null,"html_url":"https://github.com/10mohi6/slack-webhook-python","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/10mohi6%2Fslack-webhook-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fslack-webhook-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fslack-webhook-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10mohi6%2Fslack-webhook-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/10mohi6","download_url":"https://codeload.github.com/10mohi6/slack-webhook-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233372772,"owners_count":18666443,"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":["api","python","slack","webhooks"],"created_at":"2025-01-11T09:25:47.537Z","updated_at":"2025-09-18T08:31:14.066Z","avatar_url":"https://github.com/10mohi6.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-webhook\n\n[![PyPI](https://img.shields.io/pypi/v/slack-webhook)](https://pypi.org/project/slack-webhook/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![codecov](https://codecov.io/gh/10mohi6/slack-webhook-python/branch/master/graph/badge.svg)](https://codecov.io/gh/10mohi6/slack-webhook-python)\n[![Build Status](https://travis-ci.com/10mohi6/slack-webhook-python.svg?branch=master)](https://travis-ci.com/10mohi6/slack-webhook-python)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/slack-webhook)](https://pypi.org/project/slack-webhook/)\n[![Downloads](https://pepy.tech/badge/slack-webhook)](https://pepy.tech/project/slack-webhook)\n\nslack-webhook is a python client library for slack api Incoming Webhooks on Python 3.6 and above.\n\n\n## Installation\n\n    $ pip install slack-webhook\n\n## Usage\n\n### basic\n```python\nfrom slack_webhook import Slack\n\nslack = Slack(url='https://hooks.slack.com/services/T00/B00/XXX')\nslack.post(text=\"Hello, world.\")\n```\n\n### advanced\n```python\nfrom slack_webhook import Slack\n\nslack = Slack(url='https://hooks.slack.com/services/T00/B00/XXX')\nslack.post(text=\"Robert DeSoto added a new task\",\n    attachments = [{\n        \"fallback\": \"Plan a vacation\",\n        \"author_name\": \"Owner: rdesoto\",\n        \"title\": \"Plan a vacation\",\n        \"text\": \"I've been working too hard, it's time for a break.\",\n        \"actions\": [\n            {\n                \"name\": \"action\",\n                \"type\": \"button\",\n                \"text\": \"Complete this task\",\n                \"style\": \"\",\n                \"value\": \"complete\"\n            },\n            {\n                \"name\": \"tags_list\",\n                \"type\": \"select\",\n                \"text\": \"Add a tag...\",\n                \"data_source\": \"static\",\n                \"options\": [\n                    {\n                        \"text\": \"Launch Blocking\",\n                        \"value\": \"launch-blocking\"\n                    },\n                    {\n                        \"text\": \"Enhancement\",\n                        \"value\": \"enhancement\"\n                    },\n                    {\n                        \"text\": \"Bug\",\n                        \"value\": \"bug\"\n                    }\n                ]\n            }\n        ]\n    }]\n)\n```\n\n## Getting started\n\nFor help getting started with Incoming Webhooks, view our online [documentation](https://api.slack.com/incoming-webhooks).\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10mohi6%2Fslack-webhook-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F10mohi6%2Fslack-webhook-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10mohi6%2Fslack-webhook-python/lists"}