{"id":23252326,"url":"https://github.com/thetestgame/discordhooks","last_synced_at":"2025-04-06T02:44:18.247Z","repository":{"id":266281662,"uuid":"106866560","full_name":"thetestgame/DiscordHooks","owner":"thetestgame","description":"An open source library for sending messages to Discord from Python using Discord's built in channel webhooks","archived":false,"fork":false,"pushed_at":"2019-08-08T04:17:54.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T19:01:20.834Z","etag":null,"topics":["discord","discord-webhooks","python2","python3","slack-webhook","webhooks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thetestgame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-10-13T19:42:37.000Z","updated_at":"2023-09-08T17:31:07.000Z","dependencies_parsed_at":"2024-12-06T05:16:08.956Z","dependency_job_id":null,"html_url":"https://github.com/thetestgame/DiscordHooks","commit_stats":null,"previous_names":["thetestgame/discordhooks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetestgame%2FDiscordHooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetestgame%2FDiscordHooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetestgame%2FDiscordHooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetestgame%2FDiscordHooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thetestgame","download_url":"https://codeload.github.com/thetestgame/DiscordHooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426985,"owners_count":20937197,"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":["discord","discord-webhooks","python2","python3","slack-webhook","webhooks"],"created_at":"2024-12-19T10:15:29.673Z","updated_at":"2025-04-06T02:44:18.228Z","avatar_url":"https://github.com/thetestgame.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://maxcdn.icons8.com/Share/icon/Logos//discord_logo1600.png\" align=\"right\" height=300\u003e\n\nDiscordHooks\n============\n![GitHub issues](https://img.shields.io/github/issues/NxtStudios/DiscordHooks?style=for-the-badge)\n![PyPI - Status](https://img.shields.io/pypi/status/discordhooks?style=for-the-badge)\n\nDiscordHooks is an open source library for sending messages to Discord from Python 2.7/3.x using Discord's built in channel webhooks\n\n## Dependencies\n* \u003ca href=\"https://github.com/requests/requests\"\u003erequests\u003c/a\u003e\n\n\n## Supports\nDiscordHooks currently supports the following Discord webhooks\n* Generic\n* Slack\n\n## Example\n\n*Generic Webhook*\n```python\nfrom discordhooks import GenericWebhook\n\n\"\"\"\nGeneric Webhook\n\"\"\"\nmessage = GenericWebhook('examplewebhook.com', 'Hello World!', author='DiscordHooks')\nmessage.send()\n```\n\n*Slack Webhook*\n```python\nfrom discordhooks import SlackWebhook, SlackAttachment\n\n\"\"\"\nSlack Webhook\n\"\"\"\nmessage = SlackWebhook('examplewebhook.com', author='DiscordHooks')\n\nattachment = SlackAttachment(\n  pretext='Hello world! I am an example Slack webhook!',\n  title='Example Webhook',\n  title_link='https://github.com/NxtStudios/DiscordHooks',\n  image_url='https://cdn.worldvectorlogo.com/logos/discord.svg')\nmessage.addAttachment(attachment)\n\nmessage.send()\n```\n\n## License\nLicensed under the BSD 3-clause \"New\" or \"Revised\" license. See the provided LICENSE file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetestgame%2Fdiscordhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthetestgame%2Fdiscordhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetestgame%2Fdiscordhooks/lists"}